public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* How do I get an identity
@ 2000-03-09 10:07  Clark Sims 
  2000-03-09 12:32 ` DJ Delorie
  0 siblings, 1 reply; 5+ messages in thread
From:  Clark Sims  @ 2000-03-09 10:07 UTC (permalink / raw)
  To: cygwin

When I run wget, I get an error message:
wget: Cannot determine User-id

When I run whoami, I get:
whoami: cannot find username for UID 500

I haven't been able to get su to work either.

How do I get an identity?

Thanks in Advance,

Clark Sims


--== Sent via Deja.com http://www.deja.com/ ==--
Share what you know. Learn what you don't.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How do I get an identity
  2000-03-09 10:07 How do I get an identity  Clark Sims 
@ 2000-03-09 12:32 ` DJ Delorie
  2000-03-09 15:00   ` Corinna Vinschen
  0 siblings, 1 reply; 5+ messages in thread
From: DJ Delorie @ 2000-03-09 12:32 UTC (permalink / raw)
  To: clarksimsgnu; +Cc: cygwin

> How do I get an identity?

Try creating an /etc/passwd file with a suitable line in it for uid
500.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How do I get an identity
  2000-03-09 12:32 ` DJ Delorie
@ 2000-03-09 15:00   ` Corinna Vinschen
  2000-03-11  5:31     ` Andreas Bergstrøm
  0 siblings, 1 reply; 5+ messages in thread
From: Corinna Vinschen @ 2000-03-09 15:00 UTC (permalink / raw)
  To: clarksimsgnu; +Cc: cygwin

DJ Delorie wrote:
> 
> > How do I get an identity?
> 
> Try creating an /etc/passwd file with a suitable line in it for uid
> 500.

Cygwin has tools named `mkpasswd' and `mkgroup' to create 
passwd and group files. Start them without options for help.

Corinna

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How do I get an identity
  2000-03-09 15:00   ` Corinna Vinschen
@ 2000-03-11  5:31     ` Andreas Bergstrøm
  2000-03-11 11:29       ` Corinna Vinschen
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Bergstrøm @ 2000-03-11  5:31 UTC (permalink / raw)
  To: cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1240 bytes --]

Corinna Vinschen wrote:
> Cygwin has tools named `mkpasswd' and `mkgroup' to create
> passwd and group files. Start them without options for help.

I tried running these two commands, windows gave an error stating that
they were linked to missing exports:

NETAPI32.DLL:NetUserEnum      - MKPASSWD
NETAPI32.DLL:NetApiBufferFree - MKGROUP

While BASH looked like this:

BASH.EXE-2.02$ mkpasswd
BASH.EXE: //E/PROGRA~1/CYGNUS/CYGWIN~1/H-I586~1/BIN/mkpasswd: Permission denied
BASH.EXE-2.02$ mkgroup
BASH.EXE: //E/PROGRA~1/CYGNUS/CYGWIN~1/H-I586~1/BIN/mkgroup: Permission denied
BASH.EXE-2.02$

I tried using GDB, but I do not know what an error 31 is.

(gdb) run
Starting program: //E/PROGRA~1/CYGNUS/CYGWIN~1/H-I586~1/BIN/mkpasswd.exe
Error creating process //E/PROGRA~1/CYGNUS/CYGWIN~1/H-I586~1/BIN/mkpasswd.exe, (
error 31)

Does anyone how to correct this?

Thanks in advance.

May you live long and spamless,

Andreas Bergstrøm

-- 
HTTP://www.spambuster.dhs.org/
Fight Spam! Join EuroCAUCE! == http://www.euro.cauce.org/
Y2K bug? free software at: http://bcordero.home.sprynet.com/y2kwa.htm
Don't kiss an elephant on the lips today.



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: How do I get an identity
  2000-03-11  5:31     ` Andreas Bergstrøm
@ 2000-03-11 11:29       ` Corinna Vinschen
  0 siblings, 0 replies; 5+ messages in thread
From: Corinna Vinschen @ 2000-03-11 11:29 UTC (permalink / raw)
  To: Andreas Bergstrøm; +Cc: cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 647 bytes --]

Andreas Bergstrøm wrote:
> 
> Corinna Vinschen wrote:
> > Cygwin has tools named `mkpasswd' and `mkgroup' to create
> > passwd and group files. Start them without options for help.
> 
> I tried running these two commands, windows gave an error stating that
> they were linked to missing exports:
> 
> NETAPI32.DLL:NetUserEnum      - MKPASSWD
> NETAPI32.DLL:NetApiBufferFree - MKGROUP

Sounds to me as if you are using 9X. It misses most NetApi functions.
Sorry, no passwd support! You have to create one by yourself as
described by DJ.

Corinna

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2000-03-11 11:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-09 10:07 How do I get an identity  Clark Sims 
2000-03-09 12:32 ` DJ Delorie
2000-03-09 15:00   ` Corinna Vinschen
2000-03-11  5:31     ` Andreas Bergstrøm
2000-03-11 11:29       ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).