Operating System - HP-UX
1846868 Members
3027 Online
110256 Solutions
New Discussion

who is owner and group of /home

 
SOLVED
Go to solution
Richard Darling
Trusted Contributor

who is owner and group of /home

We have one L1000 and the owner and group of /home is incorrect. An ll | grep '^d' from root shows that most default directories are root:sys or bin:bin. /home must have been accidently set at some point. We've had no problems, and no user has access to a command prompt, so I know it wasn't malicious. Since we have only one system I don't have a second system to checkout. Thanks.

Richard Darling
11 REPLIES 11
Bryan D. Quinn
Respected Contributor
Solution

Re: who is owner and group of /home

Hey Richard,

I have /home as root root.

-Bryan
Hai Nguyen_1
Honored Contributor

Re: who is owner and group of /home

Richard Darling,

modebit 755
owner root
groupid root

Hai
Umapathy S
Honored Contributor

Re: who is owner and group of /home

Richard,
Here is my /home

$ ll -d /home
drwxr-xr-x 3 root root 96 Nov 11 2002 /home

HTH,
Umapathy
Arise Awake and Stop NOT till the goal is Reached!
A. Clay Stephenson
Acclaimed Contributor

Re: who is owner and group of /home

For /home there is really no "correct" ownershipalthough typical is root:root or root:sys. Normally, only root should be able to add directories to /home but, naturally, the users directories under /home should be owned by that user with group set to their primary group.
If it ain't broke, I can fix that.
Paul Sperry
Honored Contributor

Re: who is owner and group of /home

drwxr-xr-x 12 root root 8192 Oct 31 2002 home
Dario_1
Trusted Contributor

Re: who is owner and group of /home

Hi!

drwxr-xr-x 24 root root 8192 Jun 5 08:31 home

Regards,

DR
Donny Jekels
Respected Contributor

Re: who is owner and group of /home

chown root:root home

chmod 755 home
"Vision, is the art of seeing the invisible"
Helen French
Honored Contributor

Re: who is owner and group of /home

I think the normal should be root:root and permission rwxr-xr-x. What is your /home set to?
Life is a promise, fulfill it!
Geoff Wild
Honored Contributor

Re: who is owner and group of /home

I also have /home set to root:root with permissions as 755

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Caesar_3
Esteemed Contributor

Re: who is owner and group of /home

Hello!

The permissions:
owner -> root
group -> root
perms -> 755

Caesar
Richard Darling
Trusted Contributor

Re: who is owner and group of /home

Thanks to everyone.
RD