Solve a problem triggered by duplicate names in /etc/passwd.

Corinna Vinschen cygwin-patches@cygwin.com
Wed Apr 25 05:54:00 GMT 2001


On Wed, Apr 25, 2001 at 09:40:50PM +0900, Kazuhiro Fujieda wrote:
> The last patch of mine against `mkpasswd' can't solve another problem
> triggered by the duplicate entries of Administrator in /etc/passwd.
> The uid of processes executed by the local Administrator always
> becomes the uid of the domain Administrator (10500).
> 
> The following patch can solve this problem.
> 
> 2001-04-25  Kazuhiro Fujieda  <fujieda@jaist.ac.jp>
> 
> 	* uinfo.cc (internal_getlogin): Return pointer to struct passwd.
> 	(uinfo_init): Accommodate the above change.
> 	* syscalls.cc (seteuid): Ditto.

Thanks, applied.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.



More information about the Cygwin-patches mailing list