12-13-2005
Be Careful With /etc/issue
I would not count on /etc/issue. I would venture to guess that possibly you could apply a major update and /etc/issue never changes. The file /etc/issue is sort of like a message of the day type file. On a SuSe machine I updated from 8.2 to 9.1 a year or so ago, that type of file did not update and the login prompt greeted you with an 8.2 banner despite the machine having been updated.
Just something to think about. The release and version files did update in my case but I would say that there is a chance these could be wrong also. But the /etc/issue would be lowest on my list to check.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is there a trick to determine the exact version from Unix that one is working with?
I would have expected to see it after logon, but all I get are some Copyright-messages...
I know it's some HP-UX, but I would like to know the version-number
Tnx in advance!
Dave (2 Replies)
Discussion started by: davegeysemans
2 Replies
2. UNIX for Dummies Questions & Answers
I'm looking for a generic (i.e. would be resident in most/all unix flavors) internal command for determining my OS and version. When I telnet to a box here @ work, I get none of that info and can't remember the equivalent of the DOS ver command; I know I used to know this! Thanks. (2 Replies)
Discussion started by: brian.wilson
2 Replies
3. Solaris
Is there a way I can determine the LOM version on a Sun machine without actually shutting the system down? I'm confused. :) (2 Replies)
Discussion started by: sysera
2 Replies
4. UNIX for Dummies Questions & Answers
I want to know the distribution and version of linux that I am running:
uname -r gives me: 2.4.20-8bldsmp
uname -v gives me: #1 SMP Wed Sep 20 19:32:24 PDT 2006
Whats the distribution ?
and
whats the version ?
thanks !!! (1 Reply)
Discussion started by: the_learner
1 Replies
5. Linux
Hi, Why is there many different Linux names and SO instead to be only one? What are the differences?
Paul Weinstock (3 Replies)
Discussion started by: Paul Weinstock
3 Replies
6. Shell Programming and Scripting
Hi
I have run the command uname -a
and i got the below output
Linux vm07 2.6.9-77.Emp #1 SMP Wed Nov 7 13:58:04 EST 2007 i686 i686 i386 GNU/Linux
i want know the version of Linux can i get it from above output
if yes then what is it?
is it 2.6.9-77.Emp? (2 Replies)
Discussion started by: aish11
2 Replies
7. Linux
Is there a linux version of IE? (5 Replies)
Discussion started by: billcrosby
5 Replies
8. Shell Programming and Scripting
I currently have a shell script that utilizes the "Date" binary - this application is slightly different on OS X (BSD General Commmand) and Linux systems (gnu date). In particular, the version on OS X requires the following to get a date 14 days in the future "date -v+14d -u +%Y-%m-%d" where gnu... (1 Reply)
Discussion started by: colinjohnson
1 Replies
9. Shell Programming and Scripting
This is an odd question and I didn't really know what category it fits. I just installed Ubuntu 12.10. During the installation process, the screen informed me that Windows 7 was installed in a particular partition.
I'm just wondering how this was accomplished. Using 'fdisk -l' will indicate... (1 Reply)
Discussion started by: jamarsh
1 Replies
10. Red Hat
Hi,
How to determine share name of Linux server ?
OS version is RHL 6.5
Regards,
Maddy (11 Replies)
Discussion started by: Maddy123
11 Replies
LEARN ABOUT FREEBSD
mingetty
MINGETTY(8) Linux Programmer's Manual MINGETTY(8)
NAME
mingetty - minimal getty for consoles
SYNOPSIS
mingetty [--noclear] [--nonewline] [--noissue] [--nohangup] [--nohostname] [--long-hostname] [--loginprog=/bin/login] [--nice=10]
[--delay=5] [--chdir=/home] [--chroot=/chroot] [--autologin username] [--loginpause] tty
DESCRIPTION
mingetty is a minimal getty for use on virtual consoles. Unlike agetty(8), mingetty is not suitable for serial lines. I recommend using
mgetty(8) for this purpose.
OPTIONS
--noclear
Do not clear the screen before prompting for the login name (the screen is normally cleared).
--nonewline
Do not print a newline before writing out /etc/issue.
--noissue
Do not output /etc/issue.
--nohangup
Do not call vhangup() to disable writing to this tty by other applications.
--nohostname
Do not print the hostname before the login prompt.
--long-hostname
By default the hostname is only printed until the first dot. With this option enabled, the full text from gethostname() is shown.
--loginprog /bin/login
Change the login app.
--nice 10
Change the priority by calling nice().
--delay 5
Sleep this many seconds after startup of mingetty.
--chdir /home
Change into this directory before calling the login prog.
--chroot /chroot
Call chroot() with this directory name.
--autologin username
Log the specified user automatically in without asking for a login name and password. Check the -f option from /bin/login for this.
--loginpause
Wait for any key before dropping to the login prompt. Can be combined with --autologin to save memory by lazily spawning shells.
ISSUE ESCAPES
mingetty recognizes the following escapes sequences which might be embedded in the /etc/issue file:
d insert current day (localtime),
l insert line on which mingetty is running,
m inserts machine architecture (uname -m),
inserts machine's network node hostname (uname -n),
o inserts domain name,
inserts operating system release (uname -r),
insert current time (localtime),
s inserts operating system name,
u resp. U the current number of users which are currently logged in. U inserts "n users", where as u only inserts "n".
v inserts operating system version (uname -v).
EXAMPLE
"Linux eos i386 #1 Tue Mar 19 21:54:09 MET 1996" was produced by putting "s
m v" into /etc/issue.
FILES
/etc/issue, /var/run/utmp.
SEE ALSO
mgetty(8), agetty(8).
AUTHOR
Copyright (C) 1996 Florian La Roche <laroche@redhat.com>. Man-page written by David Frey <David.Frey@eos.lugs.ch> and Florian La Roche.
Debian-Local 6 Apr 1996 MINGETTY(8)