03-18-2008
Change HostName
How to change host name in NCR Unix version 3.0 release 4.0
I got the OS version and OS release from executing uname -v and uname -r
10 More Discussions You Might Find Interesting
1. IP Networking
Dear all, I am going to change the IP address and hostname in my solaris, but I don't know how to do it.
If you have any idea or suggestion, please fell free to let me know.
Thanks and Regards (2 Replies)
Discussion started by: PennyLi
2 Replies
2. UNIX for Dummies Questions & Answers
Hi, ( running solaris 8 )
I know how to change the hostname temparily, by login in as root
typing
hostname = xxxxx
but, this obviously goes when the system is rebooted. I'm not sure what files need changing to make this a permant change.
Could anyone help me please? (9 Replies)
Discussion started by: fishman2001
9 Replies
3. UNIX for Advanced & Expert Users
Dear All.
I will like to know beside the following command
"hostname hostname"
what other command that can change the hostname of the Unix.
Thanks. (4 Replies)
Discussion started by: gelbvonn
4 Replies
4. HP-UX
Hello..
I wanted to know how to change IP and Hostname on HPUX system, and I don't want to make it as NIS master either.
Could someone tell me the files I need to modify and make sure it's on network?
Thanks! :o (3 Replies)
Discussion started by: catwomen
3 Replies
5. UNIX for Dummies Questions & Answers
Hi, I asked this question whenI was running solaris 8
and got some very good answers. I've just uograded to Solaris 10 and there seems to quite a few changes so I need to know again.
https://www.unix.com/showthread.php?t=8547
------------
Hi (now solaris 10)
I know how to change the... (2 Replies)
Discussion started by: fishman2001
2 Replies
6. UNIX for Dummies Questions & Answers
Hello,
I am new to Solaris.
I am using stand alone Solaris 10.0 for test/study purpose and connecting to internet via an ADSL modem which has DHCP server. My Solaris is working on VMWare within winXP. My WinXP and Solaris connects to internet by the same ADSL modem via its DHCP at the same... (1 Reply)
Discussion started by: XNOR
1 Replies
7. Solaris
Please anyone guide me how to change the hostname in Solaris 9? The IP of the machie is fetched from a DHCP server. (6 Replies)
Discussion started by: shabu
6 Replies
8. Linux
i want to change my hostname permanentaly in my Fedora core 6.
could any one tell me how it is possible .... (1 Reply)
Discussion started by: useless79
1 Replies
9. Red Hat
Hello,
I would like to change the hostname on a Linux server (RHEL4).
I try different methods in vain :
- by using hostname command
- by changing /etc/hosts and /etc/hostname
But after restarting server, the old hostname re-appears... :confused:
And the file ./proc/sys/kernel/hostname... (3 Replies)
Discussion started by: madmat
3 Replies
10. Solaris
What file I need to edit if I need to change hostname in SUN OS 5.10
Please advice ....... (1 Reply)
Discussion started by: chuikingman1
1 Replies
LEARN ABOUT DEBIAN
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)