Re: Prompt question

2002-03-06 Thread Barry Goldstein
At 04:44 PM 3/6/2002 -0500, Peter Buckley wrote: >Aha. Sounds like it might be a problem with the space in the name. I am >not sure how to work around that with mkpasswd. But you could probably >do a "mkpasswd -l >> /etc/passwd" (I didn't realize you weren't in a >domain environment). > >You ca

Re: Prompt question

2002-03-06 Thread Peter Buckley
Aha. Sounds like it might be a problem with the space in the name. I am not sure how to work around that with mkpasswd. But you could probably do a "mkpasswd -l >> /etc/passwd" (I didn't realize you weren't in a domain environment). You can also try Corinna's suggestion about "mkpasswd -u "Bar

Re: Prompt question

2002-03-06 Thread Barry Goldstein
At 04:17 PM 3/6/2002 -0500, Peter Buckley wrote: >Hmm... I thought that when cygwin was installed, it did "mkpasswd -l >> >/etc/passwd", so there was at least something in /etc/passwd. Do you in >fact have a file in c:\cygwin\bin named mkpasswd.exe? > >It actually should just sit there for a lon

Re: Prompt question

2002-03-06 Thread Corinna Vinschen
On Wed, Mar 06, 2002 at 04:17:21PM -0500, Peter Buckley wrote: > Hmm... I thought that when cygwin was installed, it did "mkpasswd -l >> > /etc/passwd", so there was at least something in /etc/passwd. Do you in > fact have a file in c:\cygwin\bin named mkpasswd.exe? > > It actually should just

Re: Prompt question

2002-03-06 Thread Peter Buckley
Hmm... I thought that when cygwin was installed, it did "mkpasswd -l >> /etc/passwd", so there was at least something in /etc/passwd. Do you in fact have a file in c:\cygwin\bin named mkpasswd.exe? It actually should just sit there for a long time when you do "mkpasswd -d >> /etc/passwd". It i

Re: Prompt question

2002-03-06 Thread Barry Goldstein
Sorry, but I'm a unix-newbie: My /etc/passwd file is in fact a 0-byte file. But when I type what you suggest mkpasswd -d >> /etc/passwd it just sits there for a long time (and so I kill it with Ctrl-C. And 'man mkpasswd' says it knows not what I ask. ??? BG = At 03:4

Re: Prompt question

2002-03-06 Thread Peter Buckley
I would guess it gets the "I have no name!" thing because you need to do a "mkpasswd -d >> /etc/passwd". I don't think your domain username is in the passwd file, so it doesn't know who you are. HTH, Peter -- 1 Timothy 4:12 (NIV)- Don't let anyone look down on you because you are young, but

Prompt question

2002-03-06 Thread Barry Goldstein
In the bash shell, my prompt seems to be the two lines below I have no name!@INUK ~ $ INUK is the machine name (NT4), and '~' is my home directory, but where does the thing get the 'I have no name' thing and how can I change it? Thanks. BG == Barry Goldstein Pequod