Page 1 of 1

Customizing things

PostPosted: Thu Oct 02, 2003 1:34 pm
by Master of Reality
I dont think this is distro specific so i posted here (in the lounge).

What do i have to edit to change the text that appears before "login:" on a text login.

What i want to do is, creat a couple users... named Doom, Doom2, DoomL. And then depending on which user is logged in it will automatically start that type of doom. And i want to put what the users are in the text.


Or..... i could have some sort of text (curses) based menu after logging in, and then one chooses which option (for the various dooms installed). Where would i find information on doing this? I could probably rig something up in C++, but would that be the best idea... or perhaps a shell script?


In case you didnt get it.. i'm trying to make a crappy laptop a doom only linux laptop.... a doomtop.

Re: Customizing things

PostPosted: Thu Oct 02, 2003 3:04 pm
by Void Main
Master of Reality wrote:What do i have to edit to change the text that appears before "login:" on a text login.


See man issue

What i want to do is, creat a couple users... named Doom, Doom2, DoomL. And then depending on which user is logged in it will automatically start that type of doom. And i want to put what the users are in the text.


I assume this is separate from your first question since you don't know who is logged on until they actually log on. See man bash, specifically for "~/.bash_login". This script gets executed when the user first logs in. You could have the commands in there to run your programs. Put appropriate commands in appropriate user's .bash_login file.

Or..... i could have some sort of text (curses) based menu after logging in, and then one chooses which option (for the various dooms installed). Where would i find information on doing this? I could probably rig something up in C++, but would that be the best idea... or perhaps a shell script?


Again, you can run anything like this from .bash_login.