1836887 Members
2006 Online
110111 Solutions
New Discussion

/ files

 
SOLVED
Go to solution
Conrado Camacho
Advisor

/ files

Hello everyone.

Accidentally I change the owner of the root directory and now, I do not know which are the real ones. /etc, /bin, all of them... Can someone help me?
4 REPLIES 4
Ken Penland_1
Trusted Contributor
Solution

Re: / files

lr-xr-xr-t 1 root sys 8 Jul 7 2003 bin -> /usr/bin
dr-xr-xr-x 17 bin bin 4096 Jun 17 08:00 dev
dr-xr-xr-x 28 bin bin 7168 Aug 2 14:59 etc
drwxr-xr-x 24 root root 1024 Aug 1 07:20 home
lr-xr-xr-t 1 root sys 8 Jul 7 2003 lib -> /usr/lib
drwxr-xr-x 2 root root 96 Jul 7 2003 lost+found
dr-xr-xr-x 2 root root 96 Jul 7 2003 net
dr-xr-xr-x 36 bin bin 1024 May 2 13:23 opt
dr-xr-xr-x 13 bin bin 3072 Mar 2 07:05 sbin
dr-xr-xr-x 7 bin bin 1024 Jun 17 07:58 stand
dr-xr-x--x 3 root sys 96 Jul 8 2003 tcb
drwxrwxrwx 3 root root 3072 Aug 2 14:02 tmp
drwxr-xr-x 29 root bin 1024 Aug 10 2004 usr
drwxr-xr-x 26 root root 1024 Feb 3 15:44 var
'
jamesps
Regular Advisor

Re: / files

Boot in "single user" mode: while your server/workstation boots hit any key to interrupt the boot process then type "boot pri" to boot from your usual (primary) device and then "Y" when asked to interact with the IPL. When you get the IPL prompt type "hpux -is" to boot in single-mode. This way you will get access to everything and be able to do whatever repairs if needed.
Ultimately use a bootable CD-ROM if you are unable to boot from the disk no more.
Hope it helps,
james
Rick Garland
Honored Contributor

Re: / files

Here is most (if not all)


-rw-r--r-- 1 root sys 0 Feb 8 12:48 MANPATH
drwxr-xr-x 3 root sys 96 Feb 8 15:06 SD_CDROM
drwxr-xr-x 2 root sys 96 May 23 08:03 cdrom
drwxr-xr-x 2 root sys 96 May 23 08:07 cdrom_mnt
dr-xr-xr-x 36 bin bin 8192 Aug 1 10:26 dev
drwxr-xr-x 3 root sys 96 dr-xr-xr-x 31 bin bin 8192 Aug 1 10:26 etc
drwxr-xr-x 13 root root 8192 Jul 11 09:20 home
drwxr-xr-x 2 root root 96 Feb 8 12:09 lost+found
dr-xr-xr-x 63 bin bin 8192 Jul 11 13:18 opt
dr-xr-xr-x 13 bin bin 8192 Jul 13 07:31 sbin
dr-xr-xr-x 9 bin bin 8192 Aug 1 10:15 stand
dr-xr-x--x 3 root sys 96 Feb 10 10:39 tcb
-rw-r--r-- 1 root sys 143360 Apr 4 11:23 tcb.tar
drwxrwxrwx 20 root root 7168 Aug 2 11:30 tmp
dr-xr-xr-x 24 bin bin 8192 Mar 24 12:51 usr
dr-xr-xr-x 25 bin bin 8192 Feb 8 13:49 var
Conrado Camacho
Advisor

Re: / files

Thank you very much!
I will do the changes.

Unfortunately I am not able shutdown my system everybody is in right now.