On Mar 28 21:54, Charles Wilson wrote: > Corinna, > > Do your recent changes to passwd > http://cygwin.com/ml/cygwin/2009-03/msg00799.html > > address this issue: > http://www.cygwin.com/ml/cygwin/2008-10/msg00370.html > 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 -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/