This is the mail archive of the cygwin@cygwin.com 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: Cygwin Newbie Question


Hi Joshua, heres the info:

passwd file:

SYSTEM:*:18:544:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
Guest:unused_by_nt/2000/xp:501:513:U-IBM-311IWKNAA4G\Guest,S-1-5-21-1994407283-2032670471-1942978529-501:/home/Guest:/bin/bash
david:unused_by_nt/2000/xp:500:513:U-IBM-311IWKNAA4G\david,S-1-5-21-1994407283-2032670471-1942978529-500:/home/david:/bin/bash

group file:

SYSTEM:S-1-5-18:18:
None:S-1-5-21-1994407283-2032670471-1942978529-513:513:
Administrators:S-1-5-32-544:544:
Backup Operators:S-1-5-32-551:551:
Guests:S-1-5-32-546:546:
Power Users:S-1-5-32-547:547:
Replicator:S-1-5-32-552:552:
Users:S-1-5-32-545:545:

output of id:

uid=500(shidan) gid=513(None) groups=513(None),544(Administrators),545(Users)

When I run cygwin.bat I'm not put into my home directory but rather in /usr/bin.

I just created /proc (this was also missing)manually to see if it would be populated and it seems to work.

Even though having /dev is optional isn't the setup program supposed to create this and proc?

Dave











From: Joshua Daniel Franklin <joshuadfranklin at yahoo dot com>
To: cygwin at cygwin dot com
Subject: Re: Cygwin Newbie Question
Date: Fri, 28 Mar 2003 13:25:28 -0800 (PST)

Did running

mkpasswd > /etc/passwd
mkgroup > /etc/group

help? Please do this and then post your /etc/passwd and /etc/group files
and the output of 'id'. I suspect this is the cause of your HOME and .bash*
troubles.

Directories such as /dev are optional. Just use 'mkdir /dev'.

--- david sarraf <david_sarraf at hotmail dot com> wrote:
> The process I used was the following:
>
> Click setup.exe -->
> Installation Type=install from internet -->
> (Root Directory = c:\cygwin)&&(Install for all users)&&(Default Text
> Type=Unix) -->
> Local Package Directory =c:\...\Desktop -->
> Internet Connection=Direct -->
> Download Site=I Forget -->
> (View=Category=Install All)&& Checkbox.Curr is clicked -->
>
> After this I just let it install and clicked create shortcuts.
>
> In previous installations I was able to create the home directory.
> And set the variables in bash.
>
> How would I create the /dev directory and why isnt setup.exe not working
> correctly? And why is bash_history in the c drive?
> Thanks again,
> Dave
>
> >From: Joshua Daniel Franklin <joshuadfranklin at yahoo dot com>
> >To: cygwin at cygwin dot com
> >Subject: Re: Cygwin Newbie Question
> >Date: Fri, 28 Mar 2003 12:33:14 -0800 (PST)
> >
> > > C:\cygwin\bin\id.exe output (nontsec)
> > > UID: 400(david)  GID: 401(mkpasswd)
> > > 401(mkpasswd)
> >
> >It looks like the your /etc/passwd and/or /etc/group
> >files were not created correctly by the setup.exe
> >postinstall process. Can you describe the process you
> >used to install Cygwin?
> >
> >Oh, and running
> >mkpasswd > /etc/passwd
> >mkgroup > /etc/group
> >
> >might solve your HOME problem.

__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

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



_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail



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


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