ut_id questions
Daniel Jacobowitz
drow@false.org
Tue Apr 27 19:54:00 GMT 1999
There seems to absolutely no convention for what values to put in
ut_id in the presence of /dev/pts.
In a quick survey, ssh uses the last two characters of ut_line;
bsd-style login uses everything after the fourth character (which
happens to be the /); telnetd uses everything after the third character
(thus beginning with the /). PAM uses the last four characters.
Are any of these 'right'?
Also, utmp(5) claims that the ut_id should be 'p' followed by the
number - which seems like a really bad idea, since ttyp0 and pts/0
would then have the same ut_id.
Dan
/--------------------------------\ /--------------------------------\
| Daniel Jacobowitz |__| CMU, CS class of 2002 |
| Debian GNU/Linux Developer __ Part-Time Systems Programmer |
| dan@debian.org | | drow@cs.cmu.edu |
\--------------------------------/ \--------------------------------/
More information about the Libc-alpha
mailing list