LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 08-25-2003, 06:03 AM   #1
mvp
Member
 
Registered: Apr 2003
Distribution: Debian
Posts: 52

Rep: Reputation: 15
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.
 
Old 08-25-2003, 06:45 AM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
its called security, not annoyance....
anyways just to start you off....
type these commands in terminal:
man chown
man chmod
man chgrp
 
Old 08-25-2003, 08:05 AM   #3
mvp
Member
 
Registered: Apr 2003
Distribution: Debian
Posts: 52

Original Poster
Rep: Reputation: 15
okay thanks.

and it is called annoyance when all users can access root's home dir. that is NOT security
 
Old 08-25-2003, 12:28 PM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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
 
Old 08-25-2003, 05:15 PM   #5
mvp
Member
 
Registered: Apr 2003
Distribution: Debian
Posts: 52

Original Poster
Rep: Reputation: 15
thanks, but i think i got them working
users cant access eachothers home dirs now, so thats good
 
Old 08-27-2003, 02:00 AM   #6
mvp
Member
 
Registered: Apr 2003
Distribution: Debian
Posts: 52

Original Poster
Rep: Reputation: 15
another question .. how do i get the new folders made by users to have the same permissions as the other folders i just changed?
 
Old 08-27-2003, 02:38 AM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
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
 
Old 08-27-2003, 06:19 AM   #8
mvp
Member
 
Registered: Apr 2003
Distribution: Debian
Posts: 52

Original Poster
Rep: Reputation: 15
okay man, thanks again
 
Old 08-27-2003, 02:24 PM   #9
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
You're welcome

Cool
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Load kde profile from /mnt/removable/user instead of /home/user preacher.ca Linux - General 3 12-02-2005 04:00 PM
Samba -- XP user can log in to shares but smbclient user always gets password errors ejoe Linux - Software 3 04-18-2005 11:55 AM
grant user access to /fat-c & copying users' preferences to another user n0x Linux - Newbie 1 07-04-2004 01:04 AM
Games runs slow as normal user, but fast as root user mcore Linux - Software 2 06-08-2004 12:11 AM
Pleasehelp with proftpd.conf - trying to config user to write files as other user. philg Linux - Software 1 06-21-2003 01:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration