Mail Archives: cygwin/2002/07/12/03:16:47
On Thu, Jul 11, 2002 at 04:48:40PM -0700, David MacMahon wrote:
> On Thu, Jul 11, 2002 at 01:20:57PM -0400, Jason Tishler wrote:
> > Do you have an entry for your login domain? If not, add one. If so,
> > then I don't know how to help you more.
>
> Yes, I have an entry for my login domain ID. Without this, I can't
> login via telnet/ftp (I think). One other interesting piece of info is
> that mkpasswd fails when listing my login domain, but when listing my
> PC's domain. When listing my login domain, I get a message something like
> "mkpasswd: [5] Access is denied." I'm not at work today, so I can't
> verify that until tomorrow, but that's the basic concept.
Are you able to request just your own account as in
mkpasswd -g -u <yourname>?
I assume your servers are running a active directory domain? It's
possible that your admin(s) did restrict access to the network
managment functionality so that could be a reason you're unable to
get that info.
If so, create a /etc/passwd entry by hand. It should look like
jatis:<uid>:<gid>:U-PALO-ALTO\JATIS,<SID>:/home/jatis:/bin/bash
How to get the SID? Just look into the registry:
ls -l /proc/registry/HKEY_USERS
There are two registry keys begining with S-1-5-21-. Use the one
w/o the trailing "_Classes". Use the last number as uid. Enter
10513 as gid. Edit /etc/group.
Add or modify a group 10513:
domusers:<SID>:10513:
As SID use the same as for your user entry, except for the last
number in the SID, which you have used for your uid. Replace it
by 513.
Example:
$ ls -l /proc/registry/HKEY_USERS
total 0
dr-xr-x--- 14 root SYSTEM 0 Jun 30 16:34 S-1-5-21-1844237615-436374069-1060284298-1003
dr-xr-x--- 1 root SYSTEM 0 Feb 24 17:25 S-1-5-21-1844237615-436374069-1060284298-1003_Classes
==> /etc/passwd:
jatis:1003:10513:U-PALO-ALTO\JATIS,S-1-5-21-1844237615-436374069-1060284298-1003:/home/jatis:/bin/bash
==> /etc/group:
domusers:S-1-5-21-1844237615-436374069-1060284298-513:10513:
Perhaps that helps,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin AT cygwin DOT com
Red Hat, Inc.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -