OpenSolaris Solaris Forum  
     

Left Nav FAQ Members List Default Password Members List Linux Commands Search Today's Posts Mark Forums Read Right Nav

Left Container Right Container
 

Go Back   OpenSolaris Solaris Forum Solaris General

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-27-2012, 12:17 AM
Junior Member
 
Join Date: Jan 2012
Posts: 1
Default how to login all commands after su....

Hi,

I have a user that i would like to login all its commands.

the flow is:
enter system as root
su - USER
from here until user exit i would like to capture all commands (not the output).

please advice
Thanks
TheCitizen
Reply With Quote
Sponsored Links

  #2 (permalink)  
Old 02-05-2012, 08:26 AM
Administrator
 
Join Date: May 2008
Location: http://www.google.com
Posts: 50
Default

Can you used the bash history function ?
Bash keeps all the input commands in file ~/.bash_history file
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may post new threads
You may 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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 08:58 PM.


Powered by vBulletin. Copyright 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.