> I have a couple scripts that mount my windows c: and d: 
> drives. How can I get them to run at start-up for a non-root user?

do you really need to start them at start-up or is login sufficient?

login:

put them in ~/.bashrc (in case you're using bash).

if all users should have these scripts executed for them, use /etc/bashrc
(you may check/use the username with $USER)

start-up:

man su
check out /etc/rc.local

example: su - username -c "/full/path/to/script parameters"
if the script doesn't return, you might need to use & and rederict
stderr/stdout as you like.

MfG
Andreas



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to