This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Globally creating a user and a group "root"


Corinna Vinschen wrote:

The remaining problem is the special handling of root.  I guess it's
best to create the /etc/group entry already in mkgroup.  For mkpasswd
it might be best, to add a special handling like this:  If a Windows
user "root" exists, give it the uid 0.


any chance you can poke the base-passwd script soon, to check for a
user and a group with SID S-1-1-0 in the existing /etc/passwd and
/etc/group files and remove them silently?

Also it would be good if the script adds the following entry to
/etc/group, if possible as the first line:

root:S-1-5-32-544:0:

I currently have an entry in /etc/passwd: root:unused_by_nt/2000/xp:500:513:U-SCARFF-BOX\root,S-1-5-21-1606980848-1563985344-1060284298-500:/home/root:/bin/bash

This is a side-effect of using mkpasswd with the Administrator user renamed to root on XP. For me (and others like me who renamed the Administrator user) will this cause problems? Forgive me if I've overlooked where this point was addressed before in the thread, I only followed it loosely.

--
Dean



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]