Re: Running a program as non root (not trivial)

Glynn Clements <[email protected]>
Newsgroups org.kernel.vger.linux-admin
Message-ID <[email protected]>
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 <[email protected]>
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.