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: passwd & group file problems ?


I agree that Symantec are a bit of satanic
corporation, but ... well, Ghost2003 is actually very
impressive most of the time (apart from breaking
cygwin which is a big problem of course).

ok, I've fixed symantec by taking out the 2 " in the
path and I fixed the cygwin1.dll (it was a copy of
testdisk that was in there. testdisk carries it's own
old version of cygwin1.dll around with it) then I did
the mkpasswd and mkgroup stuff as you suggested ...
and this is what I got, but I've no idea what tee it
telling me (now I'm on my home system which is non
domain, my office ABN Amro system is all the
EMEA\nlwiso stuff). This is a lot confusing to me, do
you understand this output ? oh, after this, I still
get the same error unfortunately.

C:\cygwin>cygwin
Your group is currently "mkpasswd".  This indicates
that
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.

Boss@raid ~
$ mkpasswd -d -l | tee /etc/passwd
mkpasswd (731): [2453] Could not find domain
controller for this domain.
SYSTEM:*:18:544:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
Administrator:unused_by_nt/2000/xp:500:513:U-RAID\Administrator,S-1-5-21-1275210
071-1604221776-725345543-500:/home/Administrator:/bin/bash
ASPNET:unused_by_nt/2000/xp:1004:513:ASP.NET Machine
Account,U-RAID\ASPNET,S-1-5
-21-1275210071-1604221776-725345543-1004:/home/ASPNET:/bin/bash
Boss:unused_by_nt/2000/xp:1003:513:U-RAID\Boss,S-1-5-21-1275210071-1604221776-72
5345543-1003:/home/Boss:/bin/bash
eric:unused_by_nt/2000/xp:1005:513:U-RAID\eric,S-1-5-21-1275210071-1604221776-72
5345543-1005:/home/eric:/bin/bash
Guest:unused_by_nt/2000/xp:501:513:U-RAID\Guest,S-1-5-21-1275210071-1604221776-7
25345543-501:/home/Guest:/bin/bash
HelpAssistant:unused_by_nt/2000/xp:1000:513:Remote
Desktop Help Assistant Accoun
t,U-RAID\HelpAssistant,S-1-5-21-1275210071-1604221776-725345543-1000:/home/HelpA
ssistant:/bin/bash
SUPPORT_388945a0:unused_by_nt/2000/xp:1002:513:CN=Microsoft
Corporation,L=Redmon
d,S=Washington,C=US,U-RAID\SUPPORT_388945a0,S-1-5-21-1275210071-1604221776-72534
5543-1002:/home/SUPPORT_388945a0:/bin/bash
__ra_ssh_privsep__:unused_by_nt/2000/xp:1008:513:RemotelyAnywhere
SSH Privilege
Separation
User,U-RAID\__ra_ssh_privsep__,S-1-5-21-1275210071-1604221776-7253455
43-1008:/home/__ra_ssh_privsep__:/bin/bash
__vmware_user__:unused_by_nt/2000/xp:1007:513:__vmware_user__,U-RAID\__vmware_us
er__,S-1-5-21-1275210071-1604221776-725345543-1007:/home/__vmware_user__:/bin/ba
sh

Boss@raid ~
$ mkpasswd  -l | tee /etc/passwd
SYSTEM:*:18:544:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
Administrator:unused_by_nt/2000/xp:500:513:U-RAID\Administrator,S-1-5-21-1275210
071-1604221776-725345543-500:/home/Administrator:/bin/bash
ASPNET:unused_by_nt/2000/xp:1004:513:ASP.NET Machine
Account,U-RAID\ASPNET,S-1-5
-21-1275210071-1604221776-725345543-1004:/home/ASPNET:/bin/bash
Boss:unused_by_nt/2000/xp:1003:513:U-RAID\Boss,S-1-5-21-1275210071-1604221776-72
5345543-1003:/home/Boss:/bin/bash
eric:unused_by_nt/2000/xp:1005:513:U-RAID\eric,S-1-5-21-1275210071-1604221776-72
5345543-1005:/home/eric:/bin/bash
Guest:unused_by_nt/2000/xp:501:513:U-RAID\Guest,S-1-5-21-1275210071-1604221776-7
25345543-501:/home/Guest:/bin/bash
HelpAssistant:unused_by_nt/2000/xp:1000:513:Remote
Desktop Help Assistant Accoun
t,U-RAID\HelpAssistant,S-1-5-21-1275210071-1604221776-725345543-1000:/home/HelpA
ssistant:/bin/bash
SUPPORT_388945a0:unused_by_nt/2000/xp:1002:513:CN=Microsoft
Corporation,L=Redmon
d,S=Washington,C=US,U-RAID\SUPPORT_388945a0,S-1-5-21-1275210071-1604221776-72534
5543-1002:/home/SUPPORT_388945a0:/bin/bash
__ra_ssh_privsep__:unused_by_nt/2000/xp:1008:513:RemotelyAnywhere
SSH Privilege
Separation
User,U-RAID\__ra_ssh_privsep__,S-1-5-21-1275210071-1604221776-7253455
43-1008:/home/__ra_ssh_privsep__:/bin/bash
__vmware_user__:unused_by_nt/2000/xp:1007:513:__vmware_user__,U-RAID\__vmware_us
er__,S-1-5-21-1275210071-1604221776-725345543-1007:/home/__vmware_user__:/bin/ba
sh

Boss@raid ~
$ mkgroup  -l | tee /etc/passwd
SYSTEM:S-1-5-18:18:
None:S-1-5-21-1275210071-1604221776-725345543-513:513:
Administrators:S-1-5-32-544:544:
Backup Operators:S-1-5-32-551:551:
Guests:S-1-5-32-546:546:
Network Configuration Operators:S-1-5-32-556:556:
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:
HelpServicesGroup:S-1-5-21-1275210071-1604221776-725345543-1001:1001:
__vmware__:S-1-5-21-1275210071-1604221776-725345543-1006:1006:

Boss@raid ~
$ mkgroup  -l -d | tee /etc/passwd
Cannot get PDC, code = 2453
SYSTEM:S-1-5-18:18:
None:S-1-5-21-1275210071-1604221776-725345543-513:513:
Administrators:S-1-5-32-544:544:
Backup Operators:S-1-5-32-551:551:
Guests:S-1-5-32-546:546:
Network Configuration Operators:S-1-5-32-556:556:
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:
HelpServicesGroup:S-1-5-21-1275210071-1604221776-725345543-1001:1001:
__vmware__:S-1-5-21-1275210071-1604221776-725345543-1006:1006:

Boss@raid ~

--- Dave Korn <dave.korn@artimi.com> wrote:

> ----Original Message----
> >From: Igor Pechtchanski
> >Sent: 09 June 2005 18:09
> 
> 
> > likely to bite you at some point soon.  Secondly,
> some application
> > (presumably Norton Ghost) has inserted a quoted
> string into your PATH,
> > which confuses Cygwin.  Remove the quotes from the
> PATH.
> 
>   At this point, I'd just like to say
> ${DAVEK_ANTI_NORTON_RANT}, and
> furthermore,
>
${DAVEK_ANTI_SYMANTEC_RANT:-${DAVEK_ANTI_NORTON_RANT//NORTON/SYMANTEC}},
> while of course it is also true that
>
${DAVEK_ANTI_MCAFEE_RANT:-${DAVEK_ANTI_SYMANTEC_RANT//SYMANTEC/MCAFEE}}.
> 
> > Also, as your cygcheck output shows, you are in a
> domain.  It's quite
> > possible that the domain controller really is
> taking more than 30 minutes
> > to return the set of users and groups (for large
> domains).  The "-u"/"-g"
> > options of mkpasswd/mkgroup respectively may be
> helpful.
> 
>   Or indeed running it in such a way that the
> redirection doesn't prevent
> you from seeing what's going on, such as:
> 
> mkpasswd -d -l | tee /etc/passwd
> 
> which will let you see it spitting out entries
> one-by-one as the server
> sends responses.
> 
> > You could try running "net user nlwiso" to find
> out the group membership
> > (though I'm not certain how to ensure that the
> user being queried is
> > EMEA\nlwiso); 
> 
>   "net user EMEA\nlwiso".  It's pretty universal in
> 'doze that wherever you
> can put a username, you can put a DOMAIN\user string
> instead.
> 
>     cheers,
>       DaveK
> -- 
> Can't think of a witty .sigline today....
> 
> 
> --
> Unsubscribe info:     
> http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:      
> http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 
> 



		
___________________________________________________________ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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