Start up messages???
how would i go about setting up my computer to show the user a message??? plz be detailed as i be extremely new:confused:
|
Do you mean right after they login, or during bootup or what? Also, do you mean to do this in X or in a console? X is the graphical environment in linux and console is the "dos like" screen (in case you weren't aware).
Cool |
id like to know how to do the message thingy in the console and it would be nice to know how to display the message during bootup and after login
|
the "message thingy"??? :rolleyes:
|
lol yeah like have a message that shows the time and has some news.
|
ok i guess you mean an motd or issue file.
/etc/motd will be printed after you log into a shell, and /etc/issue will be printed before you login on a terminal. motd and issue should both have a manpage for you to check. |
ok that worked. how could i make my computer run a command on startup
|
For every user, in every run level? Specify...
|
Usually by placing it in rc.local or a similar file that might be located in /etc/rc.d or just /etc/rc.local (which might be symlink elsewhere).
Cool |
sure why not
|
Well surely it depends on why you want such an app to run. If you dont have a gui loaded (runlevel 3 for ex.) then you wouldnt want something trying to show a gui... :rolleyes:
You dont just want to splash some lame '1 4M 1337' thing do you? |
i am trying to get my console foreground to become blue when any user logs on i believe the command is setterm -foreground blue, but no matter how i type it in S99local or rc.local it dosent work is there like a special syntax or something
|
rc.local is completed BEFORE anyone can log in to the system. seems like you actually want .bashrc or .profile in that users home directory, or /etc/profile and /etc/bashrc for everyone
|
Great that worked thanks
|
All times are GMT -5. The time now is 04:39 PM. |