04-26-2002
Linux help on X and motd
Hie guys
im new to Unix. Need some advise or favour perhaps. Iam running Red hat Linux 7.2 and as soon as i install with GUI and so done, i reboot the system. After i reboot it directly went to the GUI login. I able to login and do my stuffs. My question is how to hold the system not to directly go to GUI login and instead of it i can use the system without X. I want it to be temprorary use. I dunt want it to become permanent without GUI. I done before last time but forgot it (Start Linux without X by pressing some keys). Any idea?
Second question.
How to set motd for my users? I use root and i edit the file /etc/motd. as soon as done and i change the permission no motd comes up durring boot any idea ? Does it needs no X GUI to start motd ?
Appreciate all the Unix gurus help. Do help this small Unix learner a bit
Thank you.
10 More Discussions You Might Find Interesting
1. Cybersecurity
Hie.
Im having a problem editing the motd ( message of the day ). I tried to edit the file /etc/motd but its end up with nothing. I find out the directory /etc/motd is in rw- r - r i changed it to executable rwxw-rw-r but having same thing no changes in the motd.
Anyone having any idea how to... (3 Replies)
Discussion started by: killerserv
3 Replies
2. UNIX for Advanced & Expert Users
Hi,
I was hoping to get some help on this question:
I have different groups of users logging into our servers and I would like to set it up so that when they login they could get an update from the motd.
How do I set it up so that I can have one group see a different motd than the system... (1 Reply)
Discussion started by: vancouver_joe
1 Replies
3. Shell Programming and Scripting
I need to replace the current /etc/motd text file with a new motd across 30+ servers.
Which is the best way to do this? Shell script? sed?
Does anyone have an example I can use?
Thanks in advance. Unix people are the best!!! :) (2 Replies)
Discussion started by: antalexi
2 Replies
4. UNIX for Dummies Questions & Answers
Hi
I do get the message of the day upon logging in to my machine(Solaris 9). I do NOT have a .hushlogin file in my home directory.
Any ideas
:-) (7 Replies)
Discussion started by: run_time_error
7 Replies
5. UNIX for Dummies Questions & Answers
Does anyone know how to get the IP Address of the connecting client to apear in the MOTD I am new to linux and I was wondering if this was possible thanks in advance. :D :confused: :D (4 Replies)
Discussion started by: DragonLenage
4 Replies
6. Linux
In which login startup script is the motd displayed?
Red Hat 4AS
As I understand it, upon login (bash) it hits
/etc/profile
~/.bash_profile
~/.bash_login
~/.profile
I went through the scripts and the associated scripts (/etc/profile.d/*.sh) but don't see where it's being displayed... (5 Replies)
Discussion started by: BOFH
5 Replies
7. Red Hat
helo
i want to show today date and calendar when v succesfuly login on the system on the linux server
please orovide the sol for the same
thanx :):):) (1 Reply)
Discussion started by: dodasajan
1 Replies
8. Solaris
Hi all,
Wish to check which setting is set to display the MOTD AFTER successful password verification. I am logging in via a 3rd party ssh tool tectia.
Eg.
Login:
password:
OS Prompt>
Thanks
Eugene (5 Replies)
Discussion started by: srage
5 Replies
9. Linux
Hi,
I am using Ubuntu 10.04 desktop and whenever I login to the xterm terminal through ssh, I am getting the following motd (message of the day) info.
Linux desktop 2.6.32-28-generic #55-Ubuntu SMP Mon Jan 10 21:21:01 UTC 2011 i686 GNU/Linux
Ubuntu 10.04.2 LTS
Welcome to Ubuntu!
*... (1 Reply)
Discussion started by: royalibrahim
1 Replies
10. UNIX Desktop Questions & Answers
If I have /etc/motd, he is file or directory?
I saw that some call them folders and files others... Which option is better?
I knew that being a director, but many told me not.
Thank you! (1 Reply)
Discussion started by: mescu
1 Replies
HALT(8) Linux System Administrator's Manual HALT(8)
NAME
halt, reboot, poweroff - stop the system.
SYNOPSIS
/sbin/halt [-n] [-w] [-d] [-f] [-i] [-p] [-h]
/sbin/reboot [-n] [-w] [-d] [-f] [-i]
/sbin/poweroff [-n] [-w] [-d] [-f] [-i] [-h]
DESCRIPTION
Halt notes that the system is being brought down in the file /var/log/wtmp, and then either tells the kernel to halt, reboot or power-off
the system.
If halt or reboot is called when the system is not in runlevel 0 or 6, in other words when it's running normally, shutdown will be invoked
instead (with the -h or -r flag). For more info see the shutdown(8) manpage.
The rest of this manpage describes the behaviour in runlevels 0 and 6, that is when the systems shutdown scripts are being run.
OPTIONS
-n Don't sync before reboot or halt. Note that the kernel and storage drivers may still sync.
-w Don't actually reboot or halt but only write the wtmp record (in the /var/log/wtmp file).
-d Don't write the wtmp record. The -n flag implies -d.
-f Force halt or reboot, don't call shutdown(8).
-i Shut down all network interfaces just before halt or reboot.
-h Put all hard drives on the system in stand-by mode just before halt or power-off.
-p When halting the system, switch off the power. This is the default when halt is called as poweroff.
DIAGNOSTICS
If you're not the superuser, you will get the message `must be superuser'.
NOTES
Under older sysvinit releases , reboot and halt should never be called directly. From release 2.74 on halt and reboot invoke shutdown(8) if
the system is not in runlevel 0 or 6. This means that if halt or reboot cannot find out the current runlevel (for example, when
/var/run/utmp hasn't been initialized correctly) shutdown will be called, which might not be what you want. Use the -f flag if you want to
do a hard halt or reboot.
The -h flag puts all hard disks in standby mode just before halt or power-off. Right now this is only implemented for IDE drives. A side
effect of putting the drive in stand-by mode is that the write cache on the disk is flushed. This is important for IDE drives, since the
kernel doesn't flush the write cache itself before power-off.
The halt program uses /proc/ide/hd* to find all IDE disk devices, which means that /proc needs to be mounted when halt or poweroff is
called or the -h switch will do nothing.
AUTHOR
Miquel van Smoorenburg, miquels@cistron.nl
SEE ALSO
shutdown(8), init(8)
Nov 6, 2001 HALT(8)