LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] auto-login

[ILUG] auto-login

Brian Parris netgod at in.freei.net
Thu Jan 27 08:39:15 GMT 2000


Thanks, i didn't even think of having it run a script that exported the
needed variables, i guess i should sleep more often.

On Thu, 27 Jan 2000, kevin lyda wrote:

> Brian Parris wrote:
> > I currently have 24 virtual terminals setup with linux and i was wondering
> > if there was a way to get certain terminals to auto-login as the user i
> > select and start running a certain program when the system boots, like on
> > /dev/tty12 i want it to login as root and run tail -f /var/log/messages,
> > and for /dev/tty24 i want it to login as root and run trafshow(a
> > sniffer) and on /dev/tty13 i want it to login as the user i irc with and
> > start BitchX, and on /dev/tty14 i want it to login as the user i use for
> > e-mail and start pine.
> 
> maybe the rungetty thing someone else mentioned and a shell script like:
> 
> #!/bin/sh
> export VAR stuff
> export OTHER_VAR other_stuff
> su -c 'command -flags' - user
> 
> thanks for the "howto run 24 v terms".  not sure if i'll use it, but
> it's nice to know.
> 
> kevin
> -- 
> kevin at suberic.net                              Nutrition Facts
> fork()'ed on 37058400		       Puns: 100% RDA  (% good puns: 0)
> 
> -- 
> Irish Linux Users' Group: ilug at linux.ie
> http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
> List maintainer: listmaster at linux.ie
> 





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell