Re: all commands of all users

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2006-10-08 at 09:34 -0400, adel.essafi@xxxxxxxxxxx wrote:
> Dear all
> I am managing a fedora server in a high school. users connect to the server
> through ssh.
> I want to know if it is possible to configure the server so that I get all
> the command line they type in real type. 
> the .bash_histoty is not a reliable solution because, it is updated after
> logout and the user can erase it. 
> Is there another way?

Check out the 'lastcomm' command from the 'psacct' package.  It's many
years since I used it, so you'll have to read the docs to see what
setting up it requires.  I think you just run the 'accton' command to
enable process accounting, and then 'lastcomm' can be used to show the
last commands exectued by users.

Matt

Matt Davey      Did you hear that there's a group of South American Indians
mcdavey@xxxxxxxxxxxxxx 	   that worship the number zero?  Is nothing sacred?

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux