LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   user permiaaions (https://www.linuxquestions.org/questions/linux-newbie-8/user-permiaaions-85421/)

mvp 08-25-2003 05:03 AM

user permissions
 
hello people.

I was wondering if anyone know a link to a good tutorial on setting user permissions.
I need to grant a few users access to there own apache dir, so they can upload there webpage.
Also i need to remove users permissions to view home dirs other than there own. (pretty annoying that every added user can view root's home dir)

DrOzz 08-25-2003 05:45 AM

its called security, not annoyance....
anyways just to start you off....
type these commands in terminal:
man chown
man chmod
man chgrp

mvp 08-25-2003 07:05 AM

okay thanks.

and it is called annoyance when all users can access root's home dir. that is NOT security

MasterC 08-25-2003 11:28 AM

Yeah, I was thinking either that was a typo, or DrOzz just misunderstood. ;)

If you have problems understanding anything, feel free to post back, permissions are easily confused at first.

Cool

mvp 08-25-2003 04:15 PM

thanks, but i think i got them working :)
users cant access eachothers home dirs now, so thats good

mvp 08-27-2003 01:00 AM

another question .. how do i get the new folders made by users to have the same permissions as the other folders i just changed?

MasterC 08-27-2003 01:38 AM

If these are sub folders, look into the 'sticky' bit, or you can change ALL permissions on newly created files by looking at /etc/profile OR ~/.bash_profile (assuming your shell is bash..)

Folders = directories ~ files
Linux sees everything as a file, even devices and directories..

Cool

mvp 08-27-2003 05:19 AM

okay man, thanks again :)

MasterC 08-27-2003 01:24 PM

You're welcome :)

Cool


All times are GMT -5. The time now is 11:38 PM.