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 X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Mon, 2 Dec 2002 14:39:18 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Don Sharp cc: cygwin AT cygwin DOT com Subject: Re: how to be "superuser" on W98 ? In-Reply-To: <3DE5E614.BD83A664@iee.org> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 28 Nov 2002, Don Sharp wrote: > joel fernandez wrote: > > > > Thank you for your help, > > > > But I read this doc before sending the mail, and I don't understand why I can't have root permissions. > > Don't fret. It isn't the lack of root permissions that is hiding > /usr/bin and /usr/lib. It's the fact that they are virtual directories, > a figment of the Cygwin imagination. /dev is also a virtual directory. FYI, nothing in Cygwin prevents one from creating *actual* directories for /dev, /proc, /usr/bin and /usr/lib. This way they will show up in the directory listing of '/'. Igor > If you type > > $ mount > G:\\bin on /usr/bin type system (binmode) > G:\\lib on /usr/lib type system (binmode) > c:\tmp on /tmp type system (binmode) > G: on / type system (binmode) > > It shows the existence of /usr/bin and /usr/lib but the mount points > don't have to be real directories. > > HTH > > Don Sharp > > > Even though I know that W98 has problem with security. > > > > the result of "ls /" is : > > > > bin cygwin.bat cygwin.ico etc home lib sbin tmp usr var > > > > and "ls /usr" writes : > > X11R6 doc i686-pc-mingw32 info man share ssl var > > autotool i686-pc-cygwin include local sbin src tmp > > > > thanks > > bye > > > > jo > > > > ---------- Initial Header ----------- > > > > >From : "Elfyn McBratney" > > To : jooj AT tiscali DOT fr, cygwin AT cygwin DOT com > > Cc : > > Date : Thu, 28 Nov 2002 08:19:30 +0000 > > Subject : Re: how to be "superuser" on W98 ? > > > > > Hi, > > > > > > Because there is a lack of a security model in win9x (95,98,Me) the user > > > logged in is effectively the "su" (superuser). If im understanding you > > > correctly, you mean you cant see /usr/lib when you ls / (???) Can you see > > > usr? > > > > > > Take a look at the manual, this will give you more info on this topic and is > > > also a good source of you have problems: > > > > > > http://cygwin.com/cygwin-ug-net/cygwin-ug-net.html (manual) > > > http://cygwin.com/cygwin-ug-net/highlights.html#OV-HI-WIN9XNT > > > > > > Elfyn > > > elfyn AT exposure DOT org DOT uk > > > > > > >Hello, > > > > > > > >Could somebody help me be THE superuser on my computer based on W98 ? > > > > > > > >the only line I have in /etc/passwd is : > > > >fernandez::500:544::/home/fernandez:/bin/bash > > > > > > > >and in /etc/group : > > > >unknown::544: > > > > > > > >So, I can access, for example, to /usr/lib, but I can't see this directory > > > >when I launch "ls /" > > > > > > > >Which means I only have user permissions. > > > > > > > >Thanks for aswering and sorry for the noise, if you think it is. > > > > > > > >bye > > > >jo -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51 -- 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/