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) |
its called security, not annoyance....
anyways just to start you off.... type these commands in terminal: man chown man chmod man chgrp |
okay thanks.
and it is called annoyance when all users can access root's home dir. that is NOT security |
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 |
thanks, but i think i got them working :)
users cant access eachothers home dirs now, so thats good |
another question .. how do i get the new folders made by users to have the same permissions as the other folders i just changed?
|
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 |
okay man, thanks again :)
|
You're welcome :)
Cool |
All times are GMT -5. The time now is 11:38 PM. |