LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
 
LinkBack 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 13.37
Posts: 4,021

Rep: Reputation: 125Reputation: 125
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


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 04:25 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration