Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-25-2003, 06:03 AM
|
#1
|
Member
Registered: Apr 2003
Distribution: Debian
Posts: 52
Rep:
|
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)
Last edited by mvp; 08-25-2003 at 08:07 AM.
|
|
|
08-25-2003, 06:45 AM
|
#2
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
its called security, not annoyance....
anyways just to start you off....
type these commands in terminal:
man chown
man chmod
man chgrp
|
|
|
08-25-2003, 08:05 AM
|
#3
|
Member
Registered: Apr 2003
Distribution: Debian
Posts: 52
Original Poster
Rep:
|
okay thanks.
and it is called annoyance when all users can access root's home dir. that is NOT security
|
|
|
08-25-2003, 12:28 PM
|
#4
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
08-25-2003, 05:15 PM
|
#5
|
Member
Registered: Apr 2003
Distribution: Debian
Posts: 52
Original Poster
Rep:
|
thanks, but i think i got them working 
users cant access eachothers home dirs now, so thats good
|
|
|
08-27-2003, 02:00 AM
|
#6
|
Member
Registered: Apr 2003
Distribution: Debian
Posts: 52
Original Poster
Rep:
|
another question .. how do i get the new folders made by users to have the same permissions as the other folders i just changed?
|
|
|
08-27-2003, 02:38 AM
|
#7
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
08-27-2003, 06:19 AM
|
#8
|
Member
Registered: Apr 2003
Distribution: Debian
Posts: 52
Original Poster
Rep:
|
okay man, thanks again 
|
|
|
08-27-2003, 02:24 PM
|
#9
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
You're welcome
Cool
|
|
|
All times are GMT -5. The time now is 05:15 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|