Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Home dir permissions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
harman
n00b
n00b


Joined: 14 Sep 2002
Posts: 6

PostPosted: Sat Sep 14, 2002 12:41 pm    Post subject: Home dir permissions Reply with quote

Hi Guys,

I have created a normal user, and created the /home/username dir... but what should be the permissions on the /home/username ??

Who should own the /home/username ??

any chown and chmod commands refering to /home/username would be great...

Also how can i setup /etc/skel ?

Any insight would be great.

Thanks
Harman
Back to top
View user's profile Send private message
harman
n00b
n00b


Joined: 14 Sep 2002
Posts: 6

PostPosted: Sat Sep 14, 2002 1:50 pm    Post subject: Reply with quote

no one?

anyone added any normal users and added a home dir?

Harman
Back to top
View user's profile Send private message
nitro322
Guru
Guru


Joined: 24 Jul 2002
Posts: 594
Location: USA

PostPosted: Sat Sep 14, 2002 3:12 pm    Post subject: Reply with quote

the easiest way to add a user is 'adduser -m username'. This will automatically create your home directory, set the parmissions and ownership accordingly, and then copy the files from /etc/skell over. If you've already manually created the account (in which case you should know the user and group IDs), I'd suggest:
Code:
chown -R $UID.$GID /home/username && chmod -R 700 /home/username

As far as /etc/skel in concerned, the only thing you need to be concerned with setting up is any environment settings you want all of your users to share, since those files get copied to new user home directories.

By the way, it will sometimes take people longer than an hour to respond to posts. Especially at 8:00am. :-) Have a little bit more patience next time. I think the general guideline for this forum is to give people about a day to respond, and if no one has done so the go agead and reply to it to ask for more help. That'll push it back to the top for everyone to see again. Anyway, hope this helps.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum