Re: Login string FUBAR; what package does this?
On Wed, 18 Feb 1998, Jens B. Jorgensen wrote:
> Looking at the mgetty man page (I suspect you use mgetty and this is where you
> see this prompt) I see:
Nope; this is what I see:
dpkg -l "*getty*"
Desired=Unknown/Install/Remove/Purge
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems
(Status,Err:uppercase=bad)
||/ Name Version Description
+++-===============-==============-============================================
un getty <none> (no description available)
pn gettyps <none> (no description available)
pn mgetty <none> (no description available)
pn mgetty-docs <none> (no description available)
pn mgetty-fax <none> (no description available)
pn mgetty-voice <none> (no description available)
pn mingetty <none> (no description available)
$ dpkg -S /sbin/getty
util-linux: /sbin/getty
A bit confusing. The manpage sais it is in fact agetty. "issue escapes"
are indeed supported.
[from the mgetty manpage:]
> -i <issue file>
> Output <issue file> instead of /etc/issue before
> prompting for the user name. The same token substi
> tutions as for the the login prompt are done in
> this file.
[from the util-linux getty manpage, titled "agetty":]
-i Do not display the contents of /etc/issue (or
other) before writing the login prompt. Terminals
or communications hardware may become confused when
receiving lots of text at the wrong baud rate;
dial-up scripts may fail if the login prompt is
preceded by too much text.
-f issue_file
Display the contents of issue_file instead of
/etc/issue. This allows custom messages to be dis
played on different terminals. The -i option will
override this option.
> My conclusion is that if any package is at fault, it would be mgetty for using
> special formatting on a file that is used by more that one package/program. As
> far as a fix goes, I believe mgetty should have its own issue file (perhaps
> /etc/mgetty/issue). You could easily do this since you can specify the issue file
> to mgetty while you can't to /bin/login.
Yes, I too think this is sensible. The problem is that the different
getty's have different switches, as you can see from the snippet above.
> NOTE: take a look at 'strings /bin/login | sort -u | less'. There appear to be
> all sorts of things in there that aren't defined or discussed in the man page.
> Looks like we need a new man page.
Hmm, yeah. These aren't mentioned in the manpage:
%s [-p] -r host
%s [-p] [-h host] [-f name]
Cheers,
Joost
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: