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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running the command script without it showing the logfile name

Status
Not open for further replies.

dsn1

Technical User
Oct 27, 2002
73
AU
Hi

I need to allow some people to have ocassional root shell access. I have got sudo installed so that they need not be given the root password and was planning to let them run a program which will run the script command logging their activity.

Unfortunately, the script command on AIX has the annoying feature that it displays to the screen the name of the logfile it is writing to at the start and the end

Does anyone have a program which will do what script does but without outputting the name of the file or an alternative method of logging a shell session

Dave
 
That won't do the trick. That would redirect all errors during the script session. I just need to get rid of the "logging to" messages

Dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top