Allow a password change to only specific accounts
McCoy Ken - kmccoy
Ken.McCoy at acxiom.com
Thu Sep 20 14:47:54 EDT 2001
Hi folks,
Kind of an unusual type change here.
I want to be able to allow a group to only change passwords for user
accounts that begin with the letters cdp and cmk. So far I haven/t figured
it out.
I've tried things like:
Cmnd_Alias ACCTS=/usr/sbin/usermod -D,/usr/bin/passwd c*
Cmnd_Alias ACCTS=/usr/sbin/usermod -D,/usr/bin/passwd [c][d][p]*
Cmnd_Alias ACCTS=/usr/sbin/usermod -D,/usr/bin/passwd c*?
but sudo come back requesting the password and will let me change the
password for any account that I specify.
Any Ideas?
Thanks,
Ken McCoy
Privacy Trailer
The information contained in this communication is confidential, is intended
only for the use of the recipient named above, and may be legally
privileged. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, distribution or copying of
this communication is strictly prohibited. If you have received this
communication in error, please
re-send this communication to the sender and delete the original message or
any copy of it from your computer system.
Thank you.
More information about the sudo-users
mailing list