linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Jim C. Brown" <jbrown106@phreaker.net>
To: =?unknown-8bit?Q?M=E1rio?= Gamito <gamito@netual.pt>
Cc: linux-admin@vger.kernel.org
Subject: Re: Different root passwords
Date: Thu, 9 Dec 2004 15:57:21 -0500	[thread overview]
Message-ID: <20041209205720.GA20454@jbrown.mylinuxbox.org> (raw)
In-Reply-To: <41B8B632.5060608@netual.pt>

On Thu, Dec 09, 2004 at 08:31:46PM +0000, M?rio Gamito wrote:
> Hi,
> 
> Is it possible to have in Linux different root passwords, for the same 
> machine: one for accessing it inside the intranet and another for 
> accessing through the internet ?

I suppose one way to do this would be to set up 2 root accounts. This is done
by adding another user, and then manually changing the uid in /etc/passwd for
that user to 0. The 2 users (one of which will probably be called 'root') can
have different passwords.

Then set up internet access so that only one of the root users is permitted to
log in, and set up intranet access so that only the other root user may
log in (normally, it will be the user called 'root' that can only log in via
the intranet).

> 
> I know FreeBSD does this.

I am not familiar with how FreeBSD manages this.

> 
> Any help would be appreciated.
> 
> Warm Regards.

-- 
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.


      parent reply	other threads:[~2004-12-09 20:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-09 20:31 Different root passwords Mário Gamito
2004-12-09 20:46 ` Thornton Prime
2004-12-09 21:37   ` Mário Gamito
2004-12-09 20:57 ` Jim C. Brown [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=20041209205720.GA20454@jbrown.mylinuxbox.org \
    --to=jbrown106@phreaker.net \
    --cc=gamito@netual.pt \
    --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).