Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-06-2006, 07:34 AM
|
#1
|
Member
Registered: Aug 2004
Location: Maine
Distribution: Gentoo Linux
Posts: 239
Rep:
|
Need help with Access Control Lists
http://www.djack.com.pl/Suse9hlp/ch27s03.html was what I was looking at..but I didn't really find the information I needed. I have emerged acl
Now what exactualy should I do for blocking read access to /etc for a specific, non-root user so he can't cd /etc
I know it is possible.
|
|
|
01-06-2006, 07:46 AM
|
#2
|
Member
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622
Rep:
|
Quote:
Originally Posted by GUIPenguin
http://www.djack.com.pl/Suse9hlp/ch27s03.html was what I was looking at..but I didn't really find the information I needed. I have emerged acl
Now what exactualy should I do for blocking read access to /etc for a specific, non-root user so he can't cd /etc
I know it is possible.
|
There are various ways in doing this but I think you could try chroot login. Essentially what this means is that when a log in is attempted, the user is authenticated in the normal way. After successful authentication, the login process passes the user to what it assumes is a shell, but in fact, it will be passing the user to a sieries of programs that will turn the user into root, chroot them into their directory, then turn the user back into himself again.
http://www.tjw.org/chroot-login-HOWTO/
cheers
|
|
|
01-06-2006, 07:49 AM
|
#3
|
Member
Registered: Aug 2004
Location: Maine
Distribution: Gentoo Linux
Posts: 239
Original Poster
Rep:
|
Quote:
Originally Posted by aqoliveira
There are various ways in doing this but I think you could try chroot login. Essentially what this means is that when a log in is attempted, the user is authenticated in the normal way. After successful authentication, the login process passes the user to what it assumes is a shell, but in fact, it will be passing the user to a sieries of programs that will turn the user into root, chroot them into their directory, then turn the user back into himself again.
http://www.tjw.org/chroot-login-HOWTO/
cheers
|
thanks.. I know how to do chrooted environments for my users but want to use acls to limited more specific directorys... so if anyone knows how to do it specificly please post. Thanks.
|
|
|
All times are GMT -5. The time now is 01:45 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
|
|