delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_MK |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <20120202094918.GC25077@calimero.vinschen.de> |
References: | <CADex0xxaSkWcAqJSFFdaArGQK3kTERMfnuvT9agr5hbtX5vw_g AT mail DOT gmail DOT com> <20120131085836 DOT GK18433 AT calimero DOT vinschen DOT de> <CADex0xzqyw-Zh++AXP9MW-EVqAb0J=xn6MuwNL4GkvnqHvc9Fg AT mail DOT gmail DOT com> <CADex0xx6a_bUeA5A2Rwrdi2g_0Vy2U_wcH1JLZLN0rzDreAh5w AT mail DOT gmail DOT com> <20120202094918 DOT GC25077 AT calimero DOT vinschen DOT de> |
Date: | Thu, 2 Feb 2012 02:04:08 -0800 |
Message-ID: | <CADex0xw9Par_kcCmjpR-_LLOCkN5mQZd2nydjnzc2w30a9Z65w@mail.gmail.com> |
Subject: | Re: mkpasswd -l and mkgroup -l results: [1722]: The RPC server is unavailable |
From: | Kenneth Wolcott <kennethwolcott AT gmail DOT com> |
To: | cygwin <cygwin AT cygwin DOT com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
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 |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id q12A4S3O021605 |
>> Update: >> >> Starting the mintty shelll again I get the same message suggesting >> running the mkpasswd and mkgroup. >> >> I do the command without the -d and everything seems to work. >> >> mkpasswd -l > /.etc/passwd; mkgroup -l > /etc/group > ^^^^^^' > <dot>etc? > >> I exit the shell and start mintty again and the warning appears again >> suggesting the running of mkpasswd and mkgroup. >> >> Why doesn't the change persist? > > Did you check /etc/passwd and /etc/group if they contain your user and > your primary group account? Are you sure you are using a local account? > Compare the information with the output of > > /cygdrive/c/Windows/System32/whoami /user /groups > > Important are not the account names, but the account SIDs! You can change > the user and group names in /etc/passwd and /etc/group whatever you like > (see http://cygwin.com/cygwin-ug-net/ntsec.html). > > If you're using a domain account on the machine, you either have to use > the mkpasswd/mkgroup -d option to get the domain and group accounts, or > you can just restrict the files to your user by using the -c option and > append the output to the files, like this: > > $ mkpasswd -c >> /etc/passwd; mkgroup -c >> /etc/group > > or, in one go: > > $ mkpasswd -l -c >> /etc/passwd; mkgroup -l -c >> /etc/group > > > Corinna The extra "dot" was a typo as I am unable to copy_and_paste at this time :-( Ah! The -c option for both seemed to persist. I'll read that doc again. Thanks, Ken -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |