This is the mail archive of the
cygwin
mailing list for the Cygwin project.
best practice?: make admin user "root", edit passwd to make uid 0
- From: cygzx at trodman dot com (Tom Rodman)
- To: cygwin at cygwin dot com
- Date: Sun, 12 Nov 2006 08:59:24 -0600
- Subject: best practice?: make admin user "root", edit passwd to make uid 0
- Reply-to: cygwin at cygwin dot com
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/