Running a program as non root (not trivial)
am 17.02.2007 19:52:00 von gamito
Hi,
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 ?
Ant help would be appreciated.
Warm Regards,
M=E1rio Gamito
-
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
Re: Running a program as non root (not trivial)
am 17.02.2007 20:51:12 von Glynn Clements
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