This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems with mkpasswd and mkgroup


2011/10/13 Edvardsen KÃre <kare.edvardsen@uit.no>:
> Greetings, KÐre Edvardsen!
>
>> I've installed cygwin "system wide" on a client (W7 32b) from an account
>> with full Administrators privileges. However, opening a Bash shell (or
>> xterm) as another user prompts:
>
>> Â Â ÂYour group is currently "mkpasswd". ÂThis indicates that your
>> Â Â Âgid is not in /etc/group and your uid is not in /etc/passwd
>
>> Â Â ÂThe /etc/passwd (and possibly /etc/group) files should be rebuilt.
>> Â Â ÂSee the man pages for mkpasswd and mkgroup then, for example, run
>
>> Â Â Âmkpasswd -l [-d] > /etc/passwd
>> Â Â Âmkgroup Â-l [-d] > /etc/group
>
>> Â Â ÂNote that the -d switch is necessary for domain users.
>
>> Before asking too many questions I should inform you that the settings
>> etc. for the various users on the W7 client resides on a separat server.
>> I've tried various suggestions found in the lists, but with no success.
>> Obviously, there is a solution to my problem, but I'm struggling to find
>> the right one.
>
> It's in front of your eyes.
> Don't you see it?
>
>> Â Â Âmkpasswd -l [-d] > /etc/passwd
>> Â Â Âmkgroup Â-l [-d] > /etc/group
>
> I wish it was that simple...
>
> As I said, I've tried various solutions (you'll find several posts around the topic in the list) but non of them seem to solve my problen. meaning:
>
> mkpasswd -l -d > /etc/passwd
>
> and
>
> mkgroup Â-l -d > /etc/group
>
> (or using any other flags) does not make any difference...
>
> Cheers,
> Kare
>

What is the contents of the "/etc/password" and "/etc/group" files
after you run the "mkpasswd/mkgroup" commands (as administrator)?

What user can log in, but isn't in the password file?

Is that user local or a domain user?

--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]