LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 04-11-2006, 06:02 PM   #1
hybernate20
LQ Newbie
 
Registered: Feb 2006
Distribution: Gentoo
Posts: 13

Rep: Reputation: 0
Managing Users


So, I'm not really all THAT new to linux, but I am pretty much totally new to managing users and their privelages. I made a user and he has his own home directory: /home/curtis

So, how do I restrict where he can go? I'd like it if he couldnt just do a cd .. and then see all the other users and be able to get into their accounts and see their stuff. I also would like to not let him into other certain directories. How do I control wherehe goes?

THanks

-Nate
 
Old 04-11-2006, 06:32 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
All of the directories under home, except for his own, should be off-limits anyway with privileges of 0750 (drwxr-x---). Most distributions have reasonable file restrictions these days, are there particular areas that you've set up that you don't want users to access?

If so, make sure they're not owned by those users, the group id isn't a group that those users are in and that the 'other' permissions are set to 0. If that last bit doesn't make sense, have a look at http://www.linuxquestions.org/linux/..._in_Unix_Linux.
 
  


Reply



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
Managing dns and httpd for users beside root Dakkar Linux - General 2 08-02-2005 05:08 PM
Managing Wi-Fi ripmaster Linux - Wireless Networking 9 06-07-2005 08:12 PM
managing users alcek2004 Linux - Newbie 2 09-20-2004 09:43 AM
What's the rundown for managing users? colabus Linux - Newbie 1 05-11-2004 07:24 PM
Managing Users in RH 8.0 (user permissions syntax) kalis_dc Linux - Networking 1 09-28-2003 07:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:44 PM.

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