public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Edvardsen Kåre" <kare.edvardsen@uit.no>
To: Jon Clugston <jon.clugston@gmail.com>
Cc: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: RE: Problems with mkpasswd and mkgroup
Date: Fri, 14 Oct 2011 07:39:00 -0000	[thread overview]
Message-ID: <F76C4AF28D3313439C4ABAFF8A4C3B88200DF047@mbs01.uit.no> (raw)
In-Reply-To: <CAG_2cTmSi_uOSEszfLHLy_W5u+AedYr+f0xU_+XqYczWH9cCHA@mail.gmail.com>


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

The Windows account name with FULL admin privileges is "servicekonto" and cygwin was installed from this account which is locally on this client and NOT a domain user.
"kae026" is the user who can log in, but isn't in the password file. 
"kae026" is a domain user.

As admnistrator:

$ mkpasswd -l -d > /etc/passwd
mkpasswd (427): [5] Access is denied.

$ less /etc/passwd

SYSTEM:*:18:544:,S-1-5-18::
LocalService:*:19:544:U-NT AUTHORITY\LocalService,S-1-5-19::
NetworkService:*:20:544:U-NT AUTHORITY\NetworkService,S-1-5-20::
Administrators:*:544:544:,S-1-5-32-544::
Administrator:unused:500:513:U-STRV8-NTF-00063\Administrator,S-1-5-21-388005049-2988697505-1062046759-500:/home/Administrator:/bin/bash
cba_anonymous:unused:1001:513:cba_anonymous,U-STRV8-NTF-00063\cba_anonymous,S-1-5-21-388005049-2988697505-1062046759-1001:/home/cba_anonymous:/bin/bash
Guest:unused:501:513:U-STRV8-NTF-00063\Guest,S-1-5-21-388005049-2988697505-1062046759-501:/home/Guest:/bin/bash
servicekonto:unused:1002:513:U-STRV8-NTF-00063\servicekonto,S-1-5-21-388005049-2988697505-1062046759-1002:/home/servicekonto:/bin/bash
/etc/passwd (END)

$ mkgroup -l -d > /etc/group
mkgroup (369): [5] Access is denied.

$ less /etc/group

SYSTEM:S-1-5-18:18:
Administrators:S-1-5-32-544:544:
Backup Operators:S-1-5-32-551:551:
Cryptographic Operators:S-1-5-32-569:569:
Distributed COM Users:S-1-5-32-562:562:
Event Log Readers:S-1-5-32-573:573:
Guests:S-1-5-32-546:546:
IIS_IUSRS:S-1-5-32-568:568:
Network Configuration Operators:S-1-5-32-556:556:
Performance Log Users:S-1-5-32-559:559:
Performance Monitor Users:S-1-5-32-558:558:
Power Users:S-1-5-32-547:547:
Remote Desktop Users:S-1-5-32-555:555:
Replicator:S-1-5-32-552:552:
Users:S-1-5-32-545:545:
None:S-1-5-21-388005049-2988697505-1062046759-513:513:
/etc/group (END)

Regards,
Kare


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

  parent reply	other threads:[~2011-10-14  7:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-13 12:18 Kåre Edvardsen
2011-10-13 14:05 ` Andrey Repin
2011-10-13 19:27   ` Edvardsen Kåre
2011-10-13 20:05     ` Jon Clugston
2011-10-14  0:35       ` Andrey Repin
2011-10-14  7:39       ` Edvardsen Kåre [this message]
2011-10-14  8:30         ` Corinna Vinschen
2011-10-17  8:25           ` Kåre Edvardsen
2011-10-17  8:37             ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F76C4AF28D3313439C4ABAFF8A4C3B88200DF047@mbs01.uit.no \
    --to=kare.edvardsen@uit.no \
    --cc=cygwin@cygwin.com \
    --cc=jon.clugston@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).