LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 01-17-2012, 04:35 AM   #1
pardoxx
LQ Newbie
 
Registered: Sep 2006
Posts: 17

Rep: Reputation: 1
sudo account


hi guys,

is there a way i can restrict user from viewing the filesystem of linux box on member of sudo account? thanks
 
Old 01-17-2012, 04:45 AM   #2
berimbau
LQ Newbie
 
Registered: Jun 2011
Posts: 7

Rep: Reputation: Disabled
Hi,

What do you mean by "viewing the filesystem" ?? do you want to restrict the users access only to theirs homes??
could you give more information about what you want to realize?
 
Old 01-17-2012, 04:50 AM   #3
apogarte
LQ Newbie
 
Registered: Jul 2009
Posts: 24

Rep: Reputation: 2
Quote:
Originally Posted by pardoxx View Post
hi guys,

is there a way i can restrict user from viewing the filesystem of linux box on member of sudo account? thanks
hi

what is your linux distro ?

best way would be to install a kiosk distro see some links here :

https://secure.wikimedia.org/wikiped...i/Webconverger
http://salahuddin66.blogspot.com/201...ian-kiosk.html
http://kiosk.mozdev.org/
http://www.alandmoore.com/blog/2011/...-2011-edition/
http://superuser.com/questions/34556...h-boots-faster

hope this helps...

apoG
 
Old 01-17-2012, 11:55 PM   #4
pardoxx
LQ Newbie
 
Registered: Sep 2006
Posts: 17

Original Poster
Rep: Reputation: 1
sorry guys, the machine is running under rhel5.0. I'm looking to add config if possible on sudo to restrict certain user on viewing the root filesystem aside from his own home directory. Can i achieve this on sudo? Thanks
 
Old 01-18-2012, 02:59 AM   #5
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Users generally need to access things like libraries (stored in /usr/lib) and various configuration files stored in /etc to be able to do their work. Why, specifically, do you have a problem with users being able to see these things? They won't be able to modify anything outside of their $HOME (unless you have messed up the permissions). If it's really an issue, you could restrict users to a chroot jail. It all depends on how they're logging into the system (locally at the terminal? remotely?).

If you're paranoid about security, you might start by running an up to date, security patched distro. RHEL 5.0 is as old as the hills; the latest release of the 5.x series is 5.7, IIRC. Assuming you have a valid RHN subscription (and because you're running RHEL 5.0, you should), it should be pretty trivial to upgrade to the latest RHEL 5.x release, which contains numerous bug fixes and security fixes.

Also, I don't get what sudo has to do with this. The sudo command grants root priviliges to authorized users, and root can do anything to the system. Ordinary users should definitely not be able to use sudo.
 
Old 01-18-2012, 03:11 AM   #6
omar11
LQ Newbie
 
Registered: Dec 2011
Posts: 5

Rep: Reputation: Disabled
......... may be it helps
 
Old 01-18-2012, 03:13 AM   #7
pardoxx
LQ Newbie
 
Registered: Sep 2006
Posts: 17

Original Poster
Rep: Reputation: 1
Thanks for the advice btmiller.

got the idea and how am i going to do it. Thanks
 
  


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
Prevent sudo su to locked or expired account? Linux_Kidd Linux - Security 12 10-18-2011 06:05 AM
howto log usage of shared account (root account) after `sudo su -` drManhattan Linux - Server 5 09-30-2011 08:48 AM
All parties in the matter of Sudo v. Root Account please rise... Kenny_Strawn Linux - General 64 04-20-2011 06:51 AM
After improper shutdown, 1 user can't startx (KDE), sudo, OR su. Root account is ok! ShellyCat Linux - Desktop 2 09-19-2010 04:56 AM
Can't use sudo, only account that's not root is not a sudo'ers [Ubuntu 9.10] randyriver10 Linux - Desktop 1 01-09-2010 08:56 PM


All times are GMT -5. The time now is 01:11 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