public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* how to be "superuser" on W98 ?
@ 2002-11-28  1:47 joel fernandez
  0 siblings, 0 replies; 6+ messages in thread
From: joel fernandez @ 2002-11-28  1:47 UTC (permalink / raw)
  To: cygwin

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

-------------
SPECIAL ADSL
L'ADSL Tiscali est à partir de 15,95 EUR/mois ! Plus modem ADSL et frais d'activation gratuits !
Pour profiter de cette offre, cliquez ici: http://register.tiscali.fr/adsl/
Offre soumise à conditions.



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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: how to be "superuser" on W98 ?
  2002-11-28  2:48 ` Don Sharp
@ 2002-12-02 11:39   ` Igor Pechtchanski
  0 siblings, 0 replies; 6+ messages in thread
From: Igor Pechtchanski @ 2002-12-02 11:39 UTC (permalink / raw)
  To: Don Sharp; +Cc: cygwin

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" <emcb_exposure@hotmail.com>
> > To          : jooj@tiscali.fr, cygwin@cygwin.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@exposure.org.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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: how to be "superuser" on W98 ?
@ 2002-11-29  6:59 Elfyn McBratney
  0 siblings, 0 replies; 6+ messages in thread
From: Elfyn McBratney @ 2002-11-29  6:59 UTC (permalink / raw)
  To: bjohnson, cygwin

There is no root account, Unless your windows username ir root or you have 
changed the pw_name field in /etc/passwd to be root.

Elfyn
elfyn@exposure.org.uk

>What happened to the root account?
>
>
>
>Elfyn McBratney (emcb_exposure@hotmail.com) wrote*:
> >
> >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@exposure.org.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
> >>
> >>-------------
> >>SPECIAL ADSL
> >>L'ADSL Tiscali est à partir de 15,95 EUR/mois ! Plus modem ADSL et frais
> >>d'activation gratuits !
> >>Pour profiter de cette offre, cliquez ici: 
>http://register.tiscali.fr/adsl/
> >>Offre soumise à conditions.
> >>
> >>
> >>
> >>--
> >>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/
> >
> >
> >_________________________________________________________________
> >Add photos to your messages with MSN 8. Get 2 months FREE*.
> >http://join.msn.com/?page=features/featuredemail
> >
> >
> >


_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: how to be "superuser" on W98 ?
  2002-11-28  2:26 joel fernandez
@ 2002-11-28  2:48 ` Don Sharp
  2002-12-02 11:39   ` Igor Pechtchanski
  0 siblings, 1 reply; 6+ messages in thread
From: Don Sharp @ 2002-11-28  2:48 UTC (permalink / raw)
  To: gnuwin32



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.

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" <emcb_exposure@hotmail.com>
> To          : jooj@tiscali.fr, cygwin@cygwin.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@exposure.org.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
> > >
> > >-------------
> > >SPECIAL ADSL
> > >L'ADSL Tiscali est à partir de 15,95 EUR/mois ! Plus modem ADSL et frais
> > >d'activation gratuits !
> > >Pour profiter de cette offre, cliquez ici: http://register.tiscali.fr/adsl/
> > >Offre soumise à conditions.
> > >
> > >
> > >
> > >--
> > >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/
> >
> >
> > _________________________________________________________________
> > Add photos to your messages with MSN 8. Get 2 months FREE*.
> > http://join.msn.com/?page=features/featuredemail
> >
> >
> -------------
> SPECIAL ADSL
> L'ADSL Tiscali est à partir de 15,95 EUR/mois ! Plus modem ADSL et frais d'activation gratuits !
> Pour profiter de cette offre, cliquez ici: http://register.tiscali.fr/adsl/
> Offre soumise à conditions.
> 
> --
> 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/

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: how to be "superuser" on W98 ?
@ 2002-11-28  2:26 joel fernandez
  2002-11-28  2:48 ` Don Sharp
  0 siblings, 1 reply; 6+ messages in thread
From: joel fernandez @ 2002-11-28  2:26 UTC (permalink / raw)
  To: emcb_exposure; +Cc: cygwin

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. 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" <emcb_exposure@hotmail.com>
To          : jooj@tiscali.fr, cygwin@cygwin.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@exposure.org.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
> >
> >-------------
> >SPECIAL ADSL
> >L'ADSL Tiscali est à partir de 15,95 EUR/mois ! Plus modem ADSL et frais
> >d'activation gratuits !
> >Pour profiter de cette offre, cliquez ici: http://register.tiscali.fr/adsl/
> >Offre soumise à conditions.
> >
> >
> >
> >--
> >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/
>
>
> _________________________________________________________________
> Add photos to your messages with MSN 8. Get 2 months FREE*.
> http://join.msn.com/?page=features/featuredemail
>
>
-------------
SPECIAL ADSL
L'ADSL Tiscali est à partir de 15,95 EUR/mois ! Plus modem ADSL et frais d'activation gratuits !
Pour profiter de cette offre, cliquez ici: http://register.tiscali.fr/adsl/
Offre soumise à conditions.



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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: how to be "superuser" on W98 ?
@ 2002-11-28  2:11 Elfyn McBratney
  0 siblings, 0 replies; 6+ messages in thread
From: Elfyn McBratney @ 2002-11-28  2:11 UTC (permalink / raw)
  To: jooj, cygwin

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@exposure.org.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
>
>-------------
>SPECIAL ADSL
>L'ADSL Tiscali est à partir de 15,95 EUR/mois ! Plus modem ADSL et frais 
>d'activation gratuits !
>Pour profiter de cette offre, cliquez ici: http://register.tiscali.fr/adsl/
>Offre soumise à conditions.
>
>
>
>--
>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/


_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-12-02 19:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-28  1:47 how to be "superuser" on W98 ? joel fernandez
2002-11-28  2:11 Elfyn McBratney
2002-11-28  2:26 joel fernandez
2002-11-28  2:48 ` Don Sharp
2002-12-02 11:39   ` Igor Pechtchanski
2002-11-29  6:59 Elfyn McBratney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).