su
M.Lewis
cajun at cajuninc.com
Tue Sep 26 04:31:24 UTC 2006
Tim wrote:
> On Mon, 2006-09-25 at 15:45 -0400, Steven W. Orr wrote:
>> After all that, if it works, please never use su the way you described
>> above. At the very least use su - -c etc...
>
> Having seen that in another topic, made me wonder about something I'm
> doing. My /etc/rc.local file has a string of lines in it like the
> following: su tim -c "/usr/bin/fetchmail -d 900"
>
> Should I be doing it like this, instead:
> su - tim -c "/usr/bin/fetchmail -d 900"
Not necessary to change as you have explicitly given the path to fetchmail.
HTH,
Mike
--
Computers are only human.
23:30:01 up 5 days, 5:04, 8 users, load average: 0.07, 0.28, 0.34
Linux Registered User #241685 http://counter.li.org
More information about the fedora-list
mailing list