delorie.com/archives/browse.cgi | search |
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: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |