This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Problems with mkpasswd and mkgroup
- From: Edvardsen Kåre <kare dot edvardsen at uit dot no>
- To: Jon Clugston <jon dot clugston at gmail dot com>
- Cc: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Fri, 14 Oct 2011 07:39:26 +0000
- Subject: RE: Problems with mkpasswd and mkgroup
- References: <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