Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Nov 1996 08:28:00 +0800
From:      Peter Wemm <peter@spinner.DIALix.COM>
To:        "Jordan K. Hubbard" <jkh@time.cdrom.com>
Cc:        Chris Timmons <skynyrd@tahoma.cwu.edu>, Bill Paul <wpaul@skynet.ctr.columbia.edu>, bugs@freebsd.org
Subject:   Re: bin/1947: Something is really hosed with the passwd command,  or something
Message-ID:  <199611040028.IAA06552@spinner.DIALix.COM>
In-Reply-To: Your message of "Sun, 03 Nov 1996 13:14:41 PST." <6630.847055681@time.cdrom.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
"Jordan K. Hubbard" wrote:
> > 
> > Well, please don't think I'm a whacko, but what does this little program
> > report while you are having the trouble?  Are you still jkh as far as
> > getlogin() is concerned? 
> 
> I'll compile this and put it somewhere - next time I see it, I'll try
> it out.  My suspicion is that it's going to print "nobody" - just a
> hunch. :-)

It would not suprise me either..  setlogin() affects all processes in the 
current session (including the parents of the process), it's not an 
inherited attribute like setuid() etc.  I personally think this is less 
than ideal.  (well, "less" is an understatement, but we've been through 
this before).

> 						Jordan

Cheers,
-Peter





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611040028.IAA06552>