This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: mkpasswd -l and mkgroup -l results: [1722]: The RPC server is unavailable
>> 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