This is the mail archive of the
mailing list for the Cygwin project.
Re: logis as root?
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Salvo <salvo at scicli dot com>
- Cc: Cygwin mailing list <cygwin at cygwin dot com>
- Date: Tue, 4 Feb 2003 18:07:44 -0500 (EST)
- Subject: Re: logis as root?
- Reply-to: cygwin at cygwin dot com
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 /'
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.
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).
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?
On Tue, 4 Feb 2003, Salvo wrote:
> Hi all,
> I know that the nice cygwin isn't Unix, but there is a manner to be
> I use it in Windows XP as administrator with name "salvo", but if I run
> "xdm" cygwin says:
> "$ xdm
> Only root wants to run xdm"
> Is I type "su" it says:
> "$ su
> su: user root does not exist"
> If login as Administrator I get:
> "$ login Administrator
> Password: ********
> You are successfully logged in to this server!!!
> login: no shell: /bin/bash: Permission denied"
> My passwd file has:
> There are /home/root and /home/Salvo directories.
> How can I do?
> Many thanks in advance!
> Salvo Micciché
|\ _,,,---,,_ firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ email@example.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html