[sudo-users] Send sudo session output after session is closed

Rene.Langevin at resolutefp.com Rene.Langevin at resolutefp.com
Fri Dec 14 14:09:52 EST 2012


Hi!

I've been requested to put in place sudo on our AIX servers.  Initially, 
the request was quite simple, restrict some users to get priviledges 
access to the server and to keep track of sudo usage, using sudoreplay. 
Now, I've been asked to find a way to send, by email, the output of every 
sudo session, as soon as the sudo session is closed.

Looking at the sudoers documentation, I've enable the flags mailto and 
mail_always, but it only sent an alert when starting a sudo session.

Our infrastructure :
Server : IBM Power P740
OS : AIX 7.1 TL1
sudo : 1.8.6p3


Thanks!


René Langevin
Analyste TI
Technologie de l'information / Information Technology
Produits forestiers Résolu
Siège social / Head office
111 rue Duke, Suite 5000, Montréal, Qc H3C 2M1
Tél : (514) 394-2130 / Fax : (514) 394-2146
Chez Produits forestiers Résolu, la rentabilité et le développement 
durable déterminent notre avenir.
Nous sommes unis dans notre engagement à travailler en toute sécurité, à 
être responsable,
à miser sur le développement durable et à réussir ensemble.
Visitez www.pfresolu.com/vision-valeurs.



More information about the sudo-users mailing list