which user does /etc/rc.d/rc.local / rc.sysinit run as?

which user does /etc/rc.d/rc.local / rc.sysinit run as?

Post by Glen » Wed, 19 Dec 2001 22:53:14



Im running Enigma and want to set up a systemwide fetchmail daemon ... I
have got the /root/.fetchmailrc file set up fine and need to know where
to put the 'fetchmail' command.

Should I put fetchmail somewhere in either /etc/rc.d/rc.local or
rc.sysinit?  Whereabouts should I put it in?  Are there security risks
here I should know about?

--
Cheers,
Glen

 
 
 

1. difference between /etc/rc.sysinit and /etc/rc.d/rc.sysinit ?

What is the difference between /etc/rc.sysinit and /etc/rc.d/rc.sysinit?
I am using Redhat 8. I did a diff on them and they are identical.
/etc/rc.sysinit is apparently a copy of /etc/rc.d/rc.sysinit since it
says that it is that file, even though it's not (see below).


#!/bin/bash
#
# /etc/rc.d/rc.sysinit - run once at boot time

I want to change something in whichever of these scripts is run at
bootup, but I don't know which one gets run.

Thanks,
Russell

2. Can not ftp as Root

3. running apps from /etc/rc.d/rc.local

4. parallel port config

5. /etc/rc.d/rc.sysinit: /etc/sysconfig/keyboard: No such file or directory

6. ppa for Parallel Zip drive

7. rc.local and rc.sysinit don't execute mount

8. Newbie - new kernel doesn't load

9. Trouble with /etc/rc.d/rc.sysinit root mount

10. RH7.3: LVM & /etc/rc.d/rc.sysinit

11. call to ldconfig in /etc/rc.d/rc.sysinit question

12. /etc/rc.d/rc.sysinit: /proc/sys/kernel/sysrq: No such file or directory

13. *BIG* Problem with /etc/rc.d/rc.local