edit /etc/issue

samimetro

New Member
Feb 14, 2014
9
0
1
hi, i'm trying to remove the welcome to proxmox message that is displayed at the ssh login screen.

i found the info to be in /etc/issue but when i edited it manually, saved and exit, reboot the server for a test, it came back to the factory welcome to proxmox etc...

how can i change it perminantly to something else which is only text, no IP no other functions, just simply text.

i should mention, i have proxmox 3.1, 3.2 and 3.3 on seperate servers that i would like to do this on.

thx
 
There is a sysv init script called /etc/init.d/pvebanner. Edit or disable that.

thank you, i found it, except how do i disable it?
i tried renaming that file to something else, that didn't work, i also tried commenting out everything in the file, that didn't work either.

it still shows me the "Welcome to the Proxmox Virtual Environment...."
 
thanks for your reply,

that did not do it for me either. i ran the exact command you provided on my test proxmox 3.3 server, and it didn't change anything.
any other ideas?
 
I guess the correct way to disable the script is

# insserv -r /etc/init.d/pvebanner
update-rc.d is the Debian why.
"DESCRIPTION insserv is a low level tool used by update-rc.d which enables an installed system init
script (`boot script') by reading the comment header of the script, e.g.:
"
 
i just tried that, without sudo since i'm logged in as root, then i got this msg
update-rc.d: using dependency based boot sequencing

then rebooted, and still shows the banner
 
What does /etc/issue contain?

thank you, that did it.

you're right, i followed your steps, then forgot about the /etc/issue. it did have exactly what was displayed, i renamed the file, and now we're good.

thank you for all your help
 
Try this instead:
sudo /usr/sbin/update-rc.d pvebanner remove
I use proxmox 4 and I use above command and rename issue , but after reboot I see again . that banner . and I can not remove banner.
 
mfaridi, it was suggested to you before to read a Debian book. If the sysv script/service is disabled with update-rc.d, the systemd script/service in PVE4 is disabled with....... ?
 
mfaridi, it was suggested to you before to read a Debian book. If the sysv script/service is disabled with update-rc.d, the systemd script/service in PVE4 is disabled with....... ?
I stop and disable but nothing happen
Code:
systemctl stop  pvebanner
systemctl disable  pvebanner
and I see banner .
 
You didn't read all of the above. Now that you've disabled the banner service it will not override it. You can edit /etc/issue and write there whatever you want.

Alex
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!