On 10/16/2012 05:06 PM, Mark LaPierre wrote:
On 10/16/2012 02:52 AM, Tiziana Manfroni wrote:
Hi, I have some users that delete .history file (in tcsh shell), so I
can't see their commands.
Can I disable the command "unset history"?
If it is not possible, what can I do?

Thanks in advance

Tiziana

If you are creative with scripting you may be able to use tail -f to build a scraper.

This is actually tougher than it seems.
Each user can set the name of the history file to any arbitrary name,
and place it into someplace other than the home directory, which is what I do.

Also, see
http://administratosphere.wordpress.com/2011/05/20/logging-every-shell-command/


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to