Thursday, 14 September 2017

how to set login message in linux

[root@localhost~]#vim /home/msg.sh
#!/bin/bash
dialog --title "welcome message"\
           --infobox "welcome $USER. welcome to linux system.\
                            your login time is ( `date`)" 7 50; sleep 5
:wq
[root@localhost~]#chmod +x /home/msg.sh
[root@localhost~]#vim /etc/profile
#"at the end of file"
/home/msg.sh
:wq
now log out your user then relogin it


pls put your comment and suggestion.

2 comments:

how to set time for internet use

this will allow internet access for a particular time interval. R4(config)#int f0/0 R4(config-if)#ip nat inside R4(config-...