I want to be able to run a program on log-on, but just for a certain user.
Using runlevel 5. What is the easiest way to do this?
Don
Printable View
I want to be able to run a program on log-on, but just for a certain user.
Using runlevel 5. What is the easiest way to do this?
Don
On Tue, 15 Mar 2005 18:27:29 -0500, DHess wrote:[color=blue]
> I want to be able to run a program on log-on, but just for a certain user.
> Using runlevel 5. What is the easiest way to do this?[/color]
Please read [url]http://www.catb.org/~esr/faqs/smart-questions.html[/url]
Always provide distribution, release, and if Mandrake, community,
official, cooker, when posting questions.
It could help you get better answers.
You can create a script in ~userlogin/.kde/Autostart to run anytime they start
kde desktop manager. You can call a script in ~userlogin/.bash_profile or you
can create a kludge in login files to see who is logging in and call
your script from there.
Just depends on what OS and which shell started by the user as to
where to place the script.
On Tue, 15 Mar 2005 17:37:47 -0600, Bit Twister wrote:
[color=blue]
> You can create a script in ~userlogin/.kde/Autostart to run anytime they start
> kde desktop manager. You can call a script in ~userlogin/.bash_profile or you
> can create a kludge in login files to see who is logging in and call
> your script from there.
>
> Just depends on what OS and which shell started by the user as to
> where to place the script.[/color]
It's FC 3. Thanks for the information.
Don
~username/.bash_profile
always runs on login for a user
~username/.bashrc
runs whenever the bash shell is run
~userlogin/.kde/Autostart
runs when user logs with KDE as there desktop
On Wed, 16 Mar 2005 14:03:32 -0800, fsuarez2005 wrote:
[color=blue]
> ~username/.bash_profile
> always runs on login for a user
>
> ~username/.bashrc
> runs whenever the bash shell is run[/color]
You can also create a .logon file... or is it .login?, in the user
directory.
--
Life is short, but wide. -KV