LinuxQuestions.org
Register a domain and help support LQ
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 02-03-2011, 03:35 AM   #1
pinga123
Member
 
Registered: Sep 2009
Posts: 684
Blog Entries: 2

Rep: Reputation: 36
User creation (with only read only access)


I need to create a user with least permission on the production server.
He should only be able to read or execute the files that to be specific.
For example:
I just need to give him a set of commands to run.Besides those command execution He should be prevented to run any other command and He should not able to create any files(write permission).

How would i proceed about this.
 
Old 02-03-2011, 12:59 PM   #2
wpeckham
Senior Member
 
Registered: Apr 2010
Location: USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 1,657

Rep: Reputation: 584Reputation: 584Reputation: 584Reputation: 584Reputation: 584Reputation: 584
User

If he does not need access to any files other than those you place for him to examine, look into IBSH (Iron Bound Shell). With it you can configure EXACTLY what commands the user can execute, and they are ROOTED into their directory tree. What is more, no files in that directory tree can remain executable, links are delinked, etc. to make them VERY well secured.

I modified the source code a while ago to make a version that would allow links out of the home tree to remain. Very nice source, well coded, easy to understand.
 
  


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
vsftpd read access for user accounts but needs write access ncsuapex Linux - Server 2 04-23-2010 11:51 AM
Cannot access "man pages" as normal user - temp filename creation error. uncle-c Linux - Newbie 2 03-11-2008 02:10 PM
How to get read access to another user file ? admirer4 Linux - Security 2 08-12-2007 04:21 PM
System user creation with mysql user creation moos3 Programming 1 08-11-2007 09:01 PM
slackware 10.. root user only gets read only access gtan Slackware 2 09-25-2004 08:51 AM


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