Re: script to log work done on Servers

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

 



David Desscan wrote:
We are different administrators to administrate Linux servers(Fedora Core
and RHEL).  Sometimes we use remote access ssh and su to perform important
tasks and read logs.  Since we use the same admin username and password, it
is sometimes difficult to know who has done what and when.  Is it possible
to log tasks and use different accounts with admin privileges on linux?  I
would also like to write a script which will echo a warning message when
commands like rm is used and eventually prevent irrecoverable actions on
important system folders like /bin /sbin /etc /boot and /home.  Thanks for
help and any referred web link.


I've found that sudosh works for users who log in via ssh and then sudo su into root. This might be a better app for monitoring who does what, if and only if you block logging in via ssh as root (which is always a good idea) and setup sudo access for who needs it.



--
Me transmitte sursum, caledoni!

Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

--
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