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

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


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
Reply With Quote
Sponsored Links

  #2 (permalink)  
Old 02-05-2012, 07:26 AM
Join Date: May 2008
Posts: 50

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


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 11:30 AM.

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