Re: 'w' works, 'who' does not...
Jon Valesh [EMAIL PROTECTED] writes: I have a set of servers running debian 1.2 as downloadable from a mirror site today. There are two servers, using NIS to distribute user information. From either system, if I type 'who', all I get back is a command prompt. If I use 'w', I get the correct data. I accedentally installed everything available from 'unstable' on both systems yesterday. This is due to problems with the `/var/run/utmp' file: libc5 and libc6 use different formats. `login', which is the primary(?) generator of utmp entries, is still libc5 (BTW, does `xterm' generate utmp entries, or does it use `login' to do the dirty work? Anyway `xterm' is also libc5) `who' is from `shellutils', which was recently upgraded to libc6 `w' is from `procps', which is still libc5 This causes other interesting anamolies: $ echo $LOGNAME harinath $ echo $USER harinath $ logname logname: no login name `bash' is still libc5, so it works. - Hari -- Raja R Harinath -- [EMAIL PROTECTED] When all else fails, read the instructions. -- Cahn's Axiom Our policy is, when in doubt, do the right thing. -- Roy L Ash -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: 'w' works, 'who' does not...
Here's the situation: My debian system is running as an NIS client from a master which happens to be an SGI. I can log into my debian linux system, so it sees my user name from the passwd map. I can do a ypcat passwd.byname ypcat passwd.byuid ypcat group.byname ypcat group.bygid and see all the correct entries. I can 'cd ~username' and also 'finger username' so somehow it's getting that information correctly. After the cd, my working directory is my home directory on a NFS mounted disk. However, if I do an 'ls -l' on a file, it reports the numeric uid and gid instead of the names from the passwd and group databases. I'm running kernel version 2.0.30 netbase 2.13-1 netstd 2.13-1 nis2.20-1 Another oddity is that if I do: ypwhich -m to get the names of all the maps, it gives me a long litany of YP: can't find the master of (null): Reason: Request arguments bad error messages, but if I do ypwhich -m passwd it reports the correct yp master. Any ideas on what is going on would be appreciated. Thanks, Eric Stern -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
'w' works, 'who' does not...
Hello, I have a set of servers running debian 1.2 as downloadable from a mirror site today. There are two servers, using NIS to distribute user information. From either system, if I type 'who', all I get back is a command prompt. If I use 'w', I get the correct data. I accedentally installed everything available from 'unstable' on both systems yesterday. TIA, Jon -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .