This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [1.7] passwd: useless if used with a logged on domain user

On Mar 28 21:54, Charles Wilson wrote:
> Corinna,
> Do your recent changes to passwd
> address this issue:
> 6. (Vista) error in setting cyg_server passwd expiry
> (Recap: 'passwd -e cyg_server' doesn't work when *current* user ('herb')
> is a domain user, attempting to set the expiry of a local user
> ('cyg_server').
> > passwd: unknown user herb
> >    *** Warning: Setting password expiry for user 'cyg_server' failed!
> >    *** Warning: Please check that password never expires or set it to your needs.
> > 
> > The command that generates the unknown user error is "passwd -e
> > cyg_server" from the csih script.  Note that it complains about the login
> > user, not the cyg_server user.
> I'd test it myself, but I don't have a domain (server) to play with...

That should be fixed now.  The error message was generated because the
same server was asked for the user account of the current user as for
the user account which was about to be changed.  The latest change
removed any such check for the current user by just testing for admin
privileges in the user's token.

I'll upload a 1.7.0-45 today or tomorrow.  I'm just waiting for a
patch approval on the newlib list.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]