www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/14/04:29:57

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4AADFEF1.40901@alice.it>
Date: Mon, 14 Sep 2009 10:29:37 +0200
From: Angelo Graziosi <angelo DOT graziosi AT alice DOT it>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Cygwin <cygwin AT cygwin DOT com>
Subject: Re: Reading what should not!
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Larry Hall (Cygwin) wrote:
> This is new behavior with 1.7 and it's there to mimic what one sees in
> Linux.  I can't reproduce your reported results in Fedora 8.  For me, if I
> am 'root', I can see the contents of 'foo.txt' just fine with the permissions
> you have set on it.

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'  for about 15 minute. This mean 
that if I use 'sudo less foo.txt' when that pass. is active I do not 
need to retype it, and, as 'root', I can read that file. But if I open a 
new shell, in which the passwd is not yet 'active', trying 'sudo 
less...' asks for the passwd, which looks right to me.

Why 'root' should read, for example, private mails of the other simple 
users of that PC?


Cheers,
Angelo.

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