Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!pasteur!dog.ee.lbl.gov!elf.ee.lbl.gov!torek From: torek@elf.ee.lbl.gov (Chris Torek) Newsgroups: comp.unix.questions Subject: Re: setlogin () -- what does it do? Message-ID: <14435@dog.ee.lbl.gov> Date: 18 Jun 91 19:50:27 GMT References: <1991Jun17.224939.1459@hotmomma.UUCP> Reply-To: torek@elf.ee.lbl.gov (Chris Torek) Distribution: na Organization: Lawrence Berkeley Laboratory, Berkeley Lines: 12 X-Local-Date: Tue, 18 Jun 91 12:50:27 PDT In article <1991Jun17.224939.1459@hotmomma.UUCP> sdb%hotmomma@uunet.uu.net (Scott Ballantyne) writes: >... setlogin (username). Can someone tell me what this is >supposed to do, or aim me at the man page? setlogin is a privileged system call that sets the string to be returned by getlogin(), another new system call. This solves the problem of describing the login of someone who does not have a `tty slot' and thus cannot have an /etc/utmp entry. -- In-Real-Life: Chris Torek, Lawrence Berkeley Lab CSE/EE (+1 415 486 5427) Berkeley, CA Domain: torek@ee.lbl.gov