[sudo-users] sudo comment?
Todd C. Miller
Todd.Miller at courtesan.com
Wed May 5 13:55:27 EDT 2010
In message <22D301D9B05B074F900C913A9550E935692BCF at EXMAIL1.bocad.bank-banque-ca
nada.ca>
so spake "Eurico de Sousa" (edesousa):
> Is there any way to have sudo prompt for a comment and have it logged
> before using it to become someone else?
>
> sudo -u other_user command
>
> Some staff here need to become other users in order to troubleshoot
> their problems but there's some audit requirement to log a reason for
> doing so (the comment may have to include a ticket number, for example).
Sorry, there is not presently a way to do this.
- todd
More information about the sudo-users
mailing list