All of lore.kernel.org
 help / color / mirror / Atom feed
* Running a program as non root (not trivial)
@ 2007-02-17 18:52 Mário Gamito
  2007-02-17 19:51 ` Glynn Clements
  0 siblings, 1 reply; 2+ messages in thread
From: Mário Gamito @ 2007-02-17 18:52 UTC (permalink / raw)
  To: linux-admin

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ário 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Running a program as non root (not trivial)
  2007-02-17 18:52 Running a program as non root (not trivial) Mário Gamito
@ 2007-02-17 19:51 ` Glynn Clements
  0 siblings, 0 replies; 2+ messages in thread
From: Glynn Clements @ 2007-02-17 19:51 UTC (permalink / raw)
  To: Mário Gamito; +Cc: linux-admin


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-17 19:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-17 18:52 Running a program as non root (not trivial) Mário Gamito
2007-02-17 19:51 ` Glynn Clements

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.