From mboxrd@z Thu Jan 1 00:00:00 1970 From: Glynn Clements Subject: Re: Running a program as non root (not trivial) Date: Sat, 17 Feb 2007 19:51:12 +0000 Message-ID: <17879.23728.402148.936063@cerise.gclements.plus.com> References: <45D74ED0.10902@gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <45D74ED0.10902@gmail.com> Sender: linux-admin-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="iso-8859-1" To: =?ISO-8859-1?Q?M=E1rio_Gamito?= Cc: linux-admin@vger.kernel.org M=E1rio Gamito wrote: > I need to run a program - auth_imap - as another user than root. > sudo is not an option. >=20 > 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". --=20 Glynn Clements - 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