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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-25-2004, 07:19 PM
|
#1
|
|
Member
Registered: Jun 2004
Location: HK
Distribution: Ubuntu
Posts: 219
Rep:
|
Add guest user
I would like to add a guest user , however, I would like the guest be able to read his home directory only ! What shall I do ?
I am running RedHat9.0 GNOME !
|
|
|
|
06-25-2004, 07:25 PM
|
#2
|
|
Senior Member
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,288
Rep:
|
i don't think this can be done, for you must be able to read /usr/bin, /usr/lib etc to be able to run anything for that user (a desktop manager for starters!). the only way is to create, perhaps an entire system in a hidden folder (eg. /home/user/.sys/)..... no that won't work either!
|
|
|
|
06-25-2004, 08:49 PM
|
#3
|
|
Moderator
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,902
|
Well, one could put the user in a chroot-jail
Cheers,
Tink
|
|
|
|
06-25-2004, 08:54 PM
|
#4
|
|
Senior Member
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,288
Rep:
|
lol
|
|
|
|
06-25-2004, 09:05 PM
|
#5
|
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 3,816
Rep: 
|
Check out the various options for restricted shells. Both bash and (I think) ksh have a way that they can work in restricted mode (don't allow a user to cd or run any command outside his $PATH). If you grep for rbash you'll find some good info, I think. I'm not sure if this will prevent the user from ls'ing other dirs though, so it may not be as secure as a chroot jail, but easier to set up.
|
|
|
|
06-26-2004, 09:28 AM
|
#6
|
|
Senior Member
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,288
Rep:
|
so you can "chroot /home/user" and have a working system still???? no, that's just too tricky surely.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:22 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
|
|