Message-Id: <200209141529.g8EFTmI20040@delorie.com> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Sent: 14 Sep 2002 15:29:08 GMT X-Newsgroups: gmane.os.cygwin Subject: login failing(?) on Win 98 From: news AT garydjones DOT mailshell DOT com User-Agent: Xnews/4.11.09 X-No-Archive: yes To: cygwin AT cygwin DOT com X-Gate: Hamster/1.3.23.185 NewsToMail-Gate Date: Sat, 14 Sep 2002 16:58:52 +0200 I have setup a fake user for postgres in /etc/passwd (mainly to satisfy scripts that require that user, though I'm not convinced it is required now). If I then use login, from bash, I get this: $ login postgres No directory ! Logging in with home = "/". Fanfare!!! You are successfully logged in to this server!!! \[\033]0;\w\007 \033[32m\]\u@\h \[\033[33m\w\033[0m\] $ which is pretty much what I would expect (I don't care too much about what the shell looks like, it is not going to be used very much by users directly). Note - there is no Windows user called postgres, I don't know if this matters or not. However: $ whoami Gary (that is, I seem to still be the original logged in user). Similarly, when I "initdb ..." postgres still reports that the owner is "Gary" and not "postgres". Is that what is expected? Have I misconfigured something, or is this a known situation/bug? _Possibly_ related is that "who" does not report quite what I would expect either: $ who who: /var/run/utmp I thought I would see a list of logged in users. I get the /var/... regardless of what option I give "who", even "who -m" ("whoami" reports "Gary", as shown above). -- 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/