Skip to contentSkip to conversation

Running a program as non root (not trivial)

DISCUSSION Mário Gamito 2 participants 2 messages Feb 17, 2007

lore
Share & tools
lore
#0 lore raw

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#1 lore raw
Quoted 4 lines · Mário Gamito

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".

Signature · 5 lines
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