Operating System - HP-UX
1838469 Members
2963 Online
110126 Solutions
New Discussion

hpux 11.11 permissions changing automatically

 
Saravanan_14
Frequent Advisor

hpux 11.11 permissions changing automatically

Dear all,

We have hpux 11.11 OS.
The directory permissions was changed automatically
Affected directory
/etc /dev /var/tmp /tmp /usr/lib as of this issue user couldn’t login…

Please help me, how to solve this issue…?

Thanks & regards,
Saran
3 REPLIES 3
YAQUB_1
Respected Contributor

Re: hpux 11.11 permissions changing automatically

Hi,

Can U tell me all users or some users can not access this system.

Which Backup software Ur using in your UNIX environment (Data Protector/Legato).

Solution:
a) Take the Ignite backup Ur current system
b) U can also arrange previous Ignite backup in Ur system
c) When U take last full backup in Ur system
d) Recovery the full backup in Ur system (if the system will crash then U roll back Ignite (current Ignite) backup for Ur system.

Hope it will help for U.

BR/
Yaqub
Rasheed Tamton
Honored Contributor

Re: hpux 11.11 permissions changing automatically

Hi Saran,

Only dirs or all files inside those dirs:

ll -d /etc/ /dev/ /var/tmp/ /usr/lib
dr-xr-xr-x 15 bin bin 8192 Oct 23 2007 /dev/
dr-xr-xr-x 34 bin bin 8192 Jun 28 10:04 /etc/
dr-xr-xr-x 37 bin bin 16384 Jun 11 2007 /usr/lib
drwxrwxrwt 11 root root 8192 Jun 28 10:23 /var/tmp/

chown bin:bin /etc (would make /etc owner:group to bin:bin)
chmod 555 /etc (would make /etc r-xr-xr-x)

You could combine find and chmod to change so many files.

You could compare it with another working system and change it. Also, if you have a good backup it is better to restore it.


Regards.
Dennis Handly
Acclaimed Contributor

Re: hpux 11.11 permissions changing automatically

You can use "swverify \*" to check and add -F to fix.