I'm using 3.2v4.2. How do I remove the system name that appears above
the login prompt?
I'm using 3.2v4.2. How do I remove the system name that appears above
the login prompt?
: I'm using 3.2v4.2. How do I remove the system name that appears above
: the login prompt?
I suspect you might edit /etc/issue and get what you are after.
--
Bill Walker
> I'm using 3.2v4.2. How do I remove the system name that appears above
> the login prompt?
2) If you're login thru telnet, check /etc/inetd.conf
add the -h option at the end of the telnetd line
That's for messages above the login prompt. For messages below,
check /etc/issue and /etc/motd
Use man.
Paul.
> > I'm using 3.2v4.2. How do I remove the system name that appears above
> > the login prompt?
> 1) Look at the login prompt in /etc/gettydefs
> 2) If you're login thru telnet, check /etc/inetd.conf
> add the -h option at the end of the telnetd line
> That's for messages above the login prompt. For messages below,
> check /etc/issue and /etc/motd
> Use man.
> Paul.
lemmen
Welcome to SCO Unix 3.2
lemmen LEMMEN OIL COMPANY
login:
front of LEMMEN OIL COMPANY but that first lemmen is still there. How
do I get ride of that?
> I'm using 3.2v4.2. How do I remove the system name that appears above
> the login prompt?
--
===========================================================================
= Paul Amedee Phone: 504-837-9835 =
= Delta Systems, Inc. Fax : 504-837-9838 =
= 3100 Ridgelake Dr. Suite 101 =
===========================================================================
> > I'm using 3.2v4.2. How do I remove the system name that appears above
> > the login prompt?
> I've never tried to do this but I would start by removing /etc/systemid
> just to see.
lemmen
login:
There must be some way of getting rid of this.
chad
Chad Lemmen's CPU sent forth this bytestream:
| > > I'm using 3.2v4.2. How do I remove the system name that appears above
| > > the login prompt?
| >
| > I've never tried to do this but I would start by removing /etc/systemid
| > just to see.
|
| I did this and that still doesn't get rid of the system name that
| appears above the login. It still looks like this:
/etc/systemid will get reset when you reboot.
| lemmen
|
| login:
|
| There must be some way of getting rid of this.
Insert \f before the login prompt in the sc_m entry of /etc/gettydefs.
--
> > > I'm using 3.2v4.2. How do I remove the system name that appears above
> > > the login prompt?
> > I've never tried to do this but I would start by removing /etc/systemid
> > just to see.
> I did this and that still doesn't get rid of the system name that
> appears above the login. It still looks like this:
> lemmen
> login:
> There must be some way of getting rid of this.
> chad
--
===========================================================================
= Paul Amedee Phone: 504-837-9835 =
= Delta Systems, Inc. Fax : 504-837-9838 =
= 3100 Ridgelake Dr. Suite 101 =
===========================================================================
> Chad Lemmen's CPU sent forth this bytestream:
> | > > I'm using 3.2v4.2. How do I remove the system name that appears above
> | > > the login prompt?
> | >
> | > I've never tried to do this but I would start by removing /etc/systemid
> | > just to see.
> |
> | I did this and that still doesn't get rid of the system name that
> | appears above the login. It still looks like this:
> /etc/systemid will get reset when you reboot.
> | lemmen
> |
> | login:
> |
> | There must be some way of getting rid of this.
> Insert \f before the login prompt in the sc_m entry of /etc/gettydefs.
o # B38400 HUPCL # B38400 CS8 SANE HUPCL TAB3 ECHOE #\r\nLEMMEN OIL
COMPANY\r\n\flogin: # o
The prompt looks like this:
lemmen (This is the system name)
LEMMEN OIL COMPANY
login:
> > > > I'm using 3.2v4.2. How do I remove the system name that appears above
> > > > the login prompt?
> > > I've never tried to do this but I would start by removing /etc/systemid
> > > just to see.
> > I did this and that still doesn't get rid of the system name that
> > appears above the login. It still looks like this:
> > lemmen
> > login:
> > There must be some way of getting rid of this.
> > chad
> Did you reboot after removing this file? It's the last thing I can think of.
> > > > > I'm using 3.2v4.2. How do I remove the system name that appears above
> > > > > the login prompt?
> > > > I've never tried to do this but I would start by removing /etc/systemid
> > > > just to see.
> > > I did this and that still doesn't get rid of the system name that
> > > appears above the login. It still looks like this:
> > > lemmen
> > > login:
> > > There must be some way of getting rid of this.
> > > chad
> > Did you reboot after removing this file? It's the last thing I can think of.
> rebooting just creates the /etc/systemid file again.
The first line with your system (node) name is hard-coded in the 3.2v4.2
getty binary. I've successfully removed it in the past by patching the
binary. Somewhere is a "%s\n\0" which can be defused by patching a "\0"
over the "%". I don't have the offset any more.
Uh, let's see:
# strings -o -2 /etc/getty | grep %.*s | grep -v ' .* .* '
36316 %s/%s
36540 %.9s <--
36552 %s <--
37170 %s <--
37684 %s/%s
37764 %s/%s
37844 %s/LTMP.%d
38228 %s.%s
38316 %s)
38384 ungetty(%s)
40192 %s/
It could only be one of the three I've tagged "<--", since the others
all introduce extra characters. A bit more experimentation shows that
it's the one at 36540.
# echo '\0\c' | dd bs=1 count=1 oseek=36540 of=/etc/getty
... should do it. Protect yourself; make a copy before you patch it,
and make sure you're logged into a couple of terminals before you go
poking bytes into /etc/getty...
(Also, anyone playing with the same techniques on OSR5, be aware that
`dd` requires a new flag, "conv=notrunc", or else it will truncate the
output file at the byte you've written...)
Quote:>Bela<
Try editing /etc/default/issue
Jesse Barker
: >
: > >
: > > I'm using 3.2v4.2. How do I remove the system name that appears above
: > > the login prompt?
: >
: > I've never tried to do this but I would start by removing /etc/systemid
: > just to see.
: I did this and that still doesn't get rid of the system name that
: appears above the login. It still looks like this:
: lemmen
: login:
: There must be some way of getting rid of this.
: chad
RE: Removing system name in login.
In /etc there is a file called "issue". Edit this file and change it to
whatever you like.
ALTERNATE ADDR.:
HTTP://www.orientrade.com
[La Societe Commerciale Orientale]
[Oriental Trading (Mtl) Ltd. ]
To change the system name:
login as root and at the # prompt type uname -S??????
where the ?????? is the new system name.
and then reboot the system.
hope this helps
regards mike
: To change the system name:
: login as root and at the # prompt type uname -S??????
: where the ?????? is the new system name.
: and then reboot the system.
If they don't relink the kernel before rebooting, then they'll get the
old system name. After running the uname -S ????? command, do the
following:
# cd /etc/cf.d/conf
# ./link_unix -y
This will modify the kernel so that the new name selected for the host
name will exist on all subsequent reboots. Also remember to update
/etc/hosts and the mail configuration so that it knows the new name of
the machine.
: hope this helps
: regards mike
jerry
--
Jerry Heyman O- Team AMIGA
<A HREF="http://www.cs.stedwards.edu/u/heyman/"> My other self </A>
1. Removing user name and password login...
2. Use wheel with Netscape 4.77.
3. removing login system info display
5. Remove directory name from file name (bash scripting)
8. Server Push Problems with Apache 1.0.3
9. Want to get rid of system name before login prompt
10. getting users login name after login from server
11. How do I get sendmail to use my real name in stead of my login name
12. how does /usr/bin/login get the login name?
13. Can't login with nis login name