Re: Daily digest, Issue 1772 (32 messages)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Damon McMahon
Date: Saturday, April 10, 2010 - 11:49 am

Mats,

2010/4/10  <matsgora@gmail.com>:
as

[snip]


I think there's your problem, -p $PASSWD doesn't make any sense, see man 1
sudo.

rc.local runs as root, root doesn't need to know the password for
$USERNAME in order to run as $USERNAME so just do

/usr/bin/sudo -u $USERNAME $DAEMON

Not sure what you're trying to achieve with -g $CONFIGDIR either,
again see man 1 sudo.

Cheers,
Damon
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Daily digest, Issue 1772 (32 messages), Damon McMahon, (Sat Apr 10, 11:49 am)