SUMMARY - password change

From: <Glenn.Morris_at_hinchingbrooke.nhs.uk>
Date: Wed, 16 Jul 2003 10:56:11 +0100

**Before acting on this e-mail or opening any attachment you are
advised to read Hinchingbrooke's disclaimer at the end of this e-mail**


Original question
I would like to delegate my responsibility of password resetting to a
specific user. I do not want to give them root access, hence my question, is
there a way for a specific user account to reset other users logins. I would
like to do this from command line and not install 3rd party software.
 
I received replies quickly from many people pointing me in the direction of
DOP thanks, but a big thanks goes to Peter Wolfe who guided me through step
by step.
 
My solution was to use dop - modifying /etc/doprc file as follows
 
#-----------------------------------#
ItOff {
      {users { itoff }}
      {groups { itoff }}
      {description {
      Created to allow IT Officers can change passwords.
      }}
}
#------------------------------#
It_passwd {
           {privs {ItOff}}
           {path {cli:/usr/bin/passwd *}}
}
 
then using the command 'dop -s -W' to enable changes and write to binary
file.
 
The command /usr/sbin/dop It_passwd <username> is run by the user itoff.


***************** Hinchingbrooke's E-Mail Disclaimer *****************

This e-mail is confidential and privileged. If you are not the intended
recipient please accept our apologies; please do not disclose, copy or
distribute information in this e-mail or take any action in reliance on
its contents: to do so is strictly prohibited and may be unlawful.
Please inform us that this message has gone astray before deleting it.
Thank you for your co-operation.

**********************************************************************
Received on Wed Jul 16 2003 - 09:56:46 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT