delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/14/06:40:26

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4AADFEF1.40901@alice.it>
References: <4AADFEF1 DOT 40901 AT alice DOT it>
Date: Mon, 14 Sep 2009 06:40:13 -0400
Message-ID: <f60fe000909140340j32217715ra4ced6432ca6ecbb@mail.gmail.com>
Subject: Re: Reading what should not!
From: "Mark J. Reed" <markjreed AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Mon, Sep 14, 2009 at 4:29 AM, Angelo Graziosi wrote:
> I do not know how Fedora works, but on Kubuntu the user created when
> installing the SO is also 'root': one need only to use 'sudo...'. After
> typing the password it 'remains active' =C2=A0for about 15 minute.

That makes no sense.  "sudo" means "run as root".  If you're already
root, there's no need for sudo, and most systems don't even allow root
to run the sudo command.

In traditional UNIX, either you're root, in which case you have the
full run of the box with no need to ask for extra permissions, or
you're not.  Secured OSes like SELinux change those rules, but you're
no longer in the realm of general Linux at that point.

It sounds to me like your Fedora created a user named "root" who is
not really "root" (uid 0).  Which might be a security thing, but is
sure to lead to confusion.  What does 'id' report?

--=20
Mark J. Reed <markjreed AT gmail DOT com>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019