LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-12-2003, 04:05 AM   #1
dEMax
LQ Newbie
 
Registered: Sep 2003
Posts: 1

Rep: Reputation: 0
Hi, How to view user and root run command on linux?


hi, i have a problem for linux redhat.
i'm is root or admin. but i have user naughty run command or anyting on server. i wish to tracking action user run command or view user run command or view terminal of user online at the time.

thank you for help
 
Old 09-12-2003, 04:22 AM   #2
daveo
Member
 
Registered: Sep 2003
Location: Holland
Distribution: Gentoo 1.4, Slackware
Posts: 196

Rep: Reputation: 30
Re: Hi, How to view user and root run command on linux?

Quote:
Originally posted by dEMax
hi, i have a problem for linux redhat.
i'm is root or admin. but i have user naughty run command or anyting on server. i wish to tracking action user run command or view user run command or view terminal of user online at the time.

thank you for help
Then use something like sudo access for users who also must be root once in a while. Try:

visudo
Then enable the group wheel to su to root
save

Add the users which need sudo access to the group wheel.

The most actions are logged then in /var/log/messages or /var/log/syslog or /var/log/auth.log

Hope this helps
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to Run Reliance RConnect on linux as non-root user arindam.lahiri Linux - Newbie 19 11-03-2006 11:27 PM
The_Sims for Linux doesnt run in regular User, but in Root. Slackware issue. RHLinuxGUY Linux - Games 4 11-02-2004 09:35 PM
Command line utlility to view user info like the GUI one? ivj Linux - Newbie 1 07-27-2004 06:44 AM
can i view user accounts with root? guggenheim Linux - General 2 03-17-2004 05:35 PM
Is their a way to run a command as root..or another user.. in php BaerRS Programming 2 04-25-2002 02:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:04 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
Open Source Consulting | Domain Registration