Mail Archives: cygwin/2001/03/23/11:17:38
It looks like my problem is due to an ambiguous configuration of my
NT workstation.
If I look at
Computer Management :: System Tools :: Local Users and Groups :: Users
I find
Administrator
atg
Guest
cygwin/mkpasswd is using these values
KANE:/etc> mkpasswd -l
Everyone:*:0:0:,S-1-1-0::
SYSTEM:*:18:18:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
Administrator::500:513:,S-1-5-21-1606980848-1563985344-1708537768-500:/home/Administrator:/bin/sh
atg::1000:513:atg,S-1-5-21-1606980848-1563985344-1708537768-1000:/home/atg:/bin/sh
Guest::501:513:,S-1-5-21-1606980848-1563985344-1708537768-501:/home/Guest:/bin/sh
It lookslike the NT is storing my network userid elsewhere.
If I look at
Control Panels :: System :: User Profiles
it identifies my profile as
ASTROCITY\bbarber
Similarly
Control Panels :: System :: Environment Variables
identifies
"User variables for bbarber"
It appears to ignore the information in
Computer Management :: System Tools :: Local Users and Groups :: Users
and use the "profile" information instead.
I don't know if this is a common enough problem to account for
in cygwin. The end result is that "id" is "administrator" instead
of "bbarber".
KANE:/etc> id
uid=500(administrator) gid=513(None) groups=513(None)
--Brad
At 06:48 PM Thursday 3/22/2001, Andy Helten wrote:
>This worked for me:
>
>mkpasswd -l > /etc/passwd
>
>Also, see:
>
>http://cygwin.com/cygwin-ug-net/using-utils.html#MKPASSWD
>
>andy
>
>
>Brad Barber wrote:
>
>> At 03:49 PM Thursday 3/22/2001, DJ Delorie wrote:
>>
>> >Edit /etc/passwd
>>
>> Will that mean that I need to "login" to cygwin?
>>
>> Any suggestions for /etc/password and .cshrc? The desired behavior is
>> that clicking on the tcsh icon gives me a tcsh shell running as "bbarber" (my Windows
>> 2000 userid). Currently it runs the shell as "administrator".
>>
>> --Brad "learning sysadmin" Barber
>>
>> ------------
>> Here are the current values. I wonder where it got "atg" and "Guest" from.
>> I don't think I've registered anyone. I've never touched this file directly.
>>
>> KANE:/etc> cat passwd
>> Everyone:*:0:0:,S-1-1-0::
>> SYSTEM:*:18:18:,S-1-5-18::
>> Administrators:*:544:544:,S-1-5-32-544::
>> Administrator::500:513:,S-1-5-21-1606980848-1563985344-1708537768-500:/home/Administrator:/bin/sh
>> atg::1000:513:atg,S-1-5-21-1606980848-1563985344-1708537768-1000:/home/atg:/bin/sh
>> Guest::501:513:,S-1-5-21-1606980848-1563985344-1708537768-501:/home/Guest:/bin/sh
>>
>> >You may have to close and re-open your cygwin windows, too.
>> >
>> >--
>> >Want to unsubscribe from this list?
>> >Check out: http://cygwin.com/ml/#unsubscribe-simple
>>
>> --
>> Want to unsubscribe from this list?
>> Check out: http://cygwin.com/ml/#unsubscribe-simple
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
- Raw text -