LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-10-2011, 10:27 PM   #1
munavar
LQ Newbie
 
Registered: Dec 2010
Posts: 7

Rep: Reputation: 0
read only user in linux


Hi Guys,
I want to create read only user in RHEL5, In my Environment they not maintained file permissions properly, i cant use file permission restriction.

Actually i done some steps do this.
I removed all PATH variables for particular user.
then i set PATH variable only for /usr/local/bin, then i copied some commands like less, ls, more etc..

its working for me, but when i typed the history -c command then history getting cleared.

but i want to capture that read only user history.

Is it possible,
Thanks in Advance.
 
Old 01-10-2011, 11:43 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
I think your only option would be to drop them into a chroot jail when they log in
 
  


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
How can I have: Root has Read-Write, user has read only for the boot filesystem? xmrkite Linux - Software 6 10-16-2008 05:31 AM
how to read and write from parallel port in linux in kernal user joecole10 Linux - Software 1 03-15-2008 03:02 PM
restricted user to only read an other read and write in samba Gran_Maestre Linux - Security 0 02-12-2008 02:16 PM
Read this and realize how far away Linux is from being a truly user friendly system chem1 General 28 03-03-2004 06:44 AM


All times are GMT -5. The time now is 06:09 AM.

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