![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| .bash_history | jacki | UNIX for Advanced & Expert Users | 2 | 02-18-2009 06:38 PM |
| Change .bash_history to another one | thakshina | UNIX for Dummies Questions & Answers | 1 | 01-20-2009 11:33 AM |
| .bash_history | jason6792 | UNIX for Advanced & Expert Users | 12 | 09-18-2002 12:43 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
.bash_history
Dear All,
I am creating users on our servers. the .bash_history supposed to store all the commands entered by the user. My question is, how can I prevent the user himself from editing or viewing this file? I have tried chaning the owner of the .bash_history to be the root user but unfortunately the commands entered by the user himself were not logged in the .bash_history when the owner is root. I want to have control to see exactly what each user is doing and to store each single command ebtered by that user but at the same time I don't want the user to have access to such file whether to view it or to edit it. Any idea on how to do that? Awaiting your reply please. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|