X-Spam-Check-By: sourceware.org Message-Id: <200611121459.kACExPFi006406@tigris.pounder.sol.net> To: cygwin AT cygwin DOT com From: cygzx AT trodman DOT com (Tom Rodman) Reply-to: cygwin AT cygwin DOT com Subject: best practice?: make admin user "root", edit passwd to make uid 0 Date: Sun, 12 Nov 2006 08:59:24 -0600 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list 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/