get rid of getpwent? (Was: cygwin-1.7.28 getpwent header declaration changes ?)
Andrey Repin
anrdaemon@yandex.ru
Fri Feb 7 12:50:00 GMT 2014
Greetings, Corinna Vinschen!
>> In some of these systems, you can edit /etc/foo and run a command to
>> manually sync that content back to the "real" user info DB. (e.g.
>> the BSDs) In others, direct edits to these files are ignored, but
>> the OS syncs a subset of changes to the user info DB to these files,
>> for the benefit of getpwent() and friends. (e.g. Mac OS X.)
> That won't make much sense on Cygwin. The idea is to use the existing
> OS tools to maintain the user/group databases in the first place.
> Having said that, it would, of course, be possible to implement Cygwin
> command line tools along the lines of useradd/usermod/groupdel. For AD,
> they would just have to use LDAP, as Cygwin will do to read the account
> info. It's pretty simple, as far as you view LDAP as simple,
LDAP IS simple. It's a shame it is so little known outside specific circles.
> However, I found that one functionality has to go completely. It will
> not be possible anymore to ssh into your machine and add yourself to
> arbitrary groups by adding your user name to groups in /etc/group. This
> is just not feasible anymore.
Erm. I call it a security improvement. To put it mildly.
--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 07.02.2014, <16:43>
Sorry for my terrible english...
--
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
More information about the Cygwin
mailing list