This is the mail archive of the
mailing list for the Cygwin project.
RE: logis as root?
- From: "Salvo" <salvo at scicli dot com>
- To: <cygwin at cygwin dot com>
- Date: Wed, 5 Feb 2003 00:28:09 +0100
- Subject: RE: logis as root?
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"
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
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 <cygwin-xfree at cygwin dot
com> list, which is for all things X.
>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
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html