Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Salvo" To: Subject: RE: logis as root? Date: Wed, 5 Feb 2003 00:28:09 +0100 Message-ID: <001401c2cca5$14d52ba0$81dcb9c2@wittgenstein> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal In-Reply-To: Hi Igor :-) >First off, to avoid that "permission denied" message, make sure your mounts of "/", "/usr/bin" and "/usr/lib" are system mounts, not user mounts. Try cutting and pasting the output of $ mount -m | grep -i cygwin | sed 's/ -u / -s /' I obtain this output: "$ mount -m | grep -i cygwin | sed 's/ -u / -s /' mount -f -s -b "C:/cygwin/usr/X11R6/lib/X11/fonts" "/usr/X11R6/lib/X11/fonts" mount -f -s -b "C:/cygwin/bin" "/usr/bin" mount -f -s -b "C:/cygwin/lib" "/usr/lib" mount -f -s -b "C:/cygwin" "/" " into your bash shell (after proper inspection, of course, and I also suggest you save the full output of "mount -m" first so you can recover your mount table if something goes wrong). "man mount" for details. Ok, is it correct the above output? >Now, as far as root is concerned, Unix programs think of "root" as uid 0. The Cygwin versions of those programs are usually patched to consider uid 18 to be root (this corresponds to the LocalSystem account, which has very high privileges on NT systems, unlike the Administrator account). Right, can I control this with a command? >I'm not sure what xdm considers root (it's in the source, I'm sure). You might have better luck asking on the list, which is for all things X. Thanks! >P.S. Incidentally, which "su" are you using? 1.3.19: uname tell me "$ uname -a CYGWIN_NT-5.1 wittgenstein 1.3.19(0.71/3/2) 2003-01-23 21:31 i686 unknown unknow n Cygwin" Regards Salvo -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/