Greetings, Quinn.

On 23 декабря 2006 г., 3:37:12 you wrote:

> On Fri, 22 Dec 2006 08:50:10 -0800, Jared Markell wrote:
>> When I try to su to vpopmail it says "This account is currently not
>> available." That's weird coming from the multi-user mutli-tasking king
>> linux..  Maybe this error is why I can't tell sa-learn to use vpopmail,
>> maybe it gets a similar error and defaults back to root?

> I would recommend leaving the shell as /bin/nologin (instead of
> bash) and instead of using su to run a program as user vpopmail, use sudo 
> instead, like this:

> sudo -H -u vpopmail /usr/bin/sa-learn --sync

> Sudo will execute users who still have a disable shell. I think
> this is a more secure way -- to keep a user with a non-accessible shell.
Correct, sudo is a more secure and flexible way. But in order for it
to work you will need to do some reconfigurations in sudoers file.


-- 
Best regards,
 Alexey Loukianov                          mailto:[EMAIL PROTECTED]
 System Engineer,
 IT Department,
 Lavtech Corp


---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to