LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 09-30-2004, 07:25 AM   #1
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 49
Permissions: lock a user up


Lets say I have three groups, one for root and two for users. One of the user-groups are allowed in mostly part of the system to read and somewere write.

The other group should only be allowed in the /home/user/-directory and not even have read access or being able to cd to another directory anywhere then in the /home/user-dir.

How can I lock a group up like this so they only are allowed in their home-dirs and still grant access to both the root-group and the "high" user-group?
 
Old 09-30-2004, 07:42 AM   #2
m00t00
Member
 
Registered: Sep 2004
Distribution: Slackware 10, Gentoo
Posts: 292

Rep: Reputation: 30
nope. If you lock them to thier home directorys, they wont be able to access _anything_ outside. that also means they wont be able to read anything in /bin or /usr/bin, and so on. end result, they login, they have a prompt, and then they cant do anything.
 
Old 09-30-2004, 07:44 AM   #3
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
They won't even have a prompt: they wont be able to access /bin/bash
 
Old 09-30-2004, 07:42 PM   #4
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
I beleive people use 'jailshell' for this purpose. Look on google for more info.
 
  


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
User Session Lock dutch1918 SUSE / openSUSE 3 05-04-2006 04:01 PM
lock session / switch user wooot SUSE / openSUSE 4 06-13-2005 01:54 PM
lock the screen as a root user? zstingx Linux - General 3 10-28-2003 03:10 AM
How to lock user in /home/user herc Linux - Software 3 09-15-2003 11:50 AM
Lock user in their home dir MarleyGPN Linux - Software 1 04-26-2003 05:12 AM

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

All times are GMT -5. The time now is 06:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration