Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

loggin the root user...

Status
Not open for further replies.

sirrom

Technical User
Jul 11, 2001
80
GB
I need to give someone a temporary root passwd. However I would like to log all commands they run and at what times they are executed. Has anyone a script that could do this or know of the best way to achieve it.
5.7 Generic_106541-12 sun4u sparc SUNW,Ultra-4
Thanks in advance.
 
Suggest a search on this forum for sudo. Never used it myself, but the things I've read about it are enthusiastic.
 
Use script

man script

--
| Mike Nixon
| Unix Admin
|
----------------------------
 
Thanks chaps all info supplied has helped create the desired results. [thumbsup]

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top