[aclug-L] Executing commands at first login
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Hi Everyone.
I am trying to figure out how to run a command once when logging into
my Debian box from the getty login prompt. I tried .profile, but bash
doesn't seem to read it, opting to read .bash_profile instead. I do
start my xterms as login shells, so I'm trying to avoid a bunch of
warnings from Fetchmail (the program I want to run as a daemon at
login) each time I open a new xterm. Non-login shells read .bashrc
but I have some things set differently for non-login shells so they
play better when started from within certain programs. Am I overlooking
something obvious here?
Thanks,
- Nate >>
--
Packet | N0NB @ WF0A.#SCKS.KS.USA.NOAM | "None can love freedom
Internet | ka0rny@xxxxxxxxxx | heartily, but good
Location | Wichita, Kansas USA EM17hs | men; the rest love not
Wichita area exams; ham radio; Linux info @ | freedom, but license."
http://www.qsl.net/n0nb/ | -- John Milton
- [aclug-L] Executing commands at first login,
Nate Bargmann <=
|
|