Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello,
I am using the RHEL 5.5 Linux and have a issue editing the motd. I have "vi /etc/motd" INSERT Mode and put my text in place. I did a :wq and exited. the motd doesn't show my text. I need for the text to be the same for all users that log in and also need help setting the background and screensave also for all users and not be able to change it. I know someone may have covered this and I am sorry posting a elementary thing but I have beat my brains out.
I would love to post the text of the banner but I can't. I do show the text of what I want it to say. I can't show the text since the text is sensitive. I am sorry for this but hope this explains somewhat?? I am wondering if I have an issue with line breaks.
[root@localhost ~]# cat /etc/motd
This is a test computer.
Please be advised that you
may not at any time do what you want to do on
this computer
[root@localhost ~]#
[root@localhost ~]# cat /etc/motd
This is a test computer.
Please be advised that you
may not at any time do what you want to do on
this computer
[root@localhost ~]#
I do not know why this is not working. Ideally it should work.
BUT, I have another option which will act similarly.
Login as root and put cat /etc/motd in the very first line of /etc/profile.
This will also display each user the message (in /etc/motd) whenever he/she will login.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.