On Feb 14 11:10, Corinna Vinschen wrote: > On Feb 14 10:02, Dave Kilroy wrote: > > On 13/02/2014 21:48, David Stacey wrote: > > >On 13/02/2014 19:36, m0viefreak wrote: > > >>Grepping through /bin I found at least one other package > > >>that makes use of /etc/passwd as a file directly (cvsbug), but > > >>since I don't have everything installed I can only assume there > > >>are more cygwin-packages and other programs someone might build > > >>from source. > > > > > >My complete install is proving quite useful this week: > > > > > > chere > > > xhere > > > > > >All of these reference /etc/passwd; some of the above also use > > >/etc/group. > > chere (with the -s passwd) reads etc/passwd and starts the default > > shell of the current user from the explorer context menu. For now, I > > will expect users wanting this functionality to keep > > using/etc/passwd. If we grow a mechanism where the login shell can > > be queried easily, I'll update chere to use that. > > Indeed. After the discussion yesterday I already realized that we will > need some commandline tool to request passwd and group entries. > > There is a function called getpw on Linux which allows to fetch a passwd > entry in the form it has in /etc/passwd: > > http://linux.die.net/man/3/getpw Gosh, please ignore this function. It's old and dangerous. Treat this mail as if I never mentioned this function, ok? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat