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

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -