Gentoo Archives: gentoo-user

From: Richard Fish <bigfish@××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] /etc/issue information
Date: Mon, 27 Feb 2006 19:51:14
Message-Id: 7573e9640602271145j4cfb4a60k770e6520775b8124@mail.gmail.com
In Reply to: Re: [gentoo-user] /etc/issue information by Marco Calviani
1 On 2/27/06, Marco Calviani <marco.calviani@×××××.com> wrote:
2 > Hi Richard,
3 >
4 > > Those escape characters are recognized only by the getty program,
5 > > which is used for console logins. You should still be able to use the
6 > > color setting escape sequences, since those are terminal escapes. But
7 > > the substitution stuff is getty specific, and will not work with ssh.
8 >
9 > thanks for sharing this info. It comes completely new for me. So, as
10 > far as i understand, there is no way of having this info with ssh
11 > login? Am i right?
12
13 The current time will be difficult. But you could create a file (like
14 /etc/issue.ssh) with the rest of the information in it:
15
16 echo "This is `hostname`.`hostname -d` ( `uname -s` `uname -m` `uname
17 -r` )" > /etc/issue.ssh
18
19 You could put the above in local.start to update the hostname or
20 kernel version information at each boot.
21
22 -Richard
23
24 --
25 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] /etc/issue information Willie Wong <wwong@×××××××××.EDU>