unix - Issues while using script (typescript) command with rksh restricted ksh -


i have scenario want log every activity particular user. have script built around script command invoke user's .profile. requirement user should not able delete subsequent typescript file created. towards that, i've created user default shell of rksh , put restriction on commands can wipe file out. problem when login user, if call script script command, forked shell sh , not rksh. know if shell not set, forked shell /bin/sh default, have shell setup properly. how ensure forked shell rksh only?

if comment out call logger .profile, rksh shell. if manually issue script command, launches sh. appreciated.

thank you,


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -