[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-admin
Subject:    Re: Running a program as non root (not trivial)
From:       Glynn Clements <glynn () gclements ! plus ! com>
Date:       2007-02-17 19:51:12
Message-ID: 17879.23728.402148.936063 () cerise ! gclements ! plus ! com
[Download RAW message or body]


Mário Gamito wrote:

> I need to run a program - auth_imap - as another user than root.
> sudo is not an option.
> 
> Does anyone knows how to do it ?

When you say "as another user than root", do you mean that the process
which invokes auth_imap is running as root (so auth_imap will normally
also end up running as root)? If so, then use "su -c".

-- 
Glynn Clements <glynn@gclements.plus.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic