z*q 发帖数: 6 | 1 There are usually history files under a user's home directory. But is there
away to log all user's commands reliably? That is, a user can't delete the
log, and the sysadmin can view all the commands executed by a user. | l*l 发帖数: 225 | 2 lastcomm
【在 z*q 的大作中提到】 : There are usually history files under a user's home directory. But is there : away to log all user's commands reliably? That is, a user can't delete the : log, and the sysadmin can view all the commands executed by a user.
| m******r 发帖数: 4351 | 3 type 'script' command
or in csh/bcsh, you can add 'set history=1000' in .cshrc file.
【在 z*q 的大作中提到】 : There are usually history files under a user's home directory. But is there : away to log all user's commands reliably? That is, a user can't delete the : log, and the sysadmin can view all the commands executed by a user.
|
|