This is the mail archive of the cygwin 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]

best practice?: make admin user "root", edit passwd to make uid 0


I searched the FAQ and a portion of my cygwin email archives. Quite a
few posts show "ls -l" output w/either a cygwin user or group "root".

"rsync -a" was not preserving ownership for me.  
If I create an account "root" and edit /etc/passwd to make the uid "0",
rsync *does* preserve ownership.

So what is the "cygwin best practice", how about this?:

  For each cygwin installation, create a local account named "root",
  place this account in the windows administrators group, and change
  /etc/passwd so that the uid for this account is "0". (I do not always
  have the password for the windows "administrator" account.)

  Should the group name "Administrators" in /etc/group be swapped out
  with "root" - I got this idea from a post or two in the cygwin mailing list.

--
thanks
Tom Rodman

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


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