Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:

> > 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
> 

Hi Corinna,

I think the function family

getpwent()
getgrent()
...

would be good for this if you add checking in SAM for asked information.

And of course to small executables utilizing it for use in shell scripts


Regards

kf




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to