linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Glynn Clements <glynn@gclements.plus.com>
To: "Mário Gamito" <gamito@gmail.com>
Cc: linux-admin@vger.kernel.org
Subject: Re: Running a program as non root (not trivial)
Date: Sat, 17 Feb 2007 19:51:12 +0000	[thread overview]
Message-ID: <17879.23728.402148.936063@cerise.gclements.plus.com> (raw)
In-Reply-To: <45D74ED0.10902@gmail.com>


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

      reply	other threads:[~2007-02-17 19:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-17 18:52 Running a program as non root (not trivial) Mário Gamito
2007-02-17 19:51 ` Glynn Clements [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17879.23728.402148.936063@cerise.gclements.plus.com \
    --to=glynn@gclements.plus.com \
    --cc=gamito@gmail.com \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).