This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Administrator lacking super-user privileges on cygwin installation


On Tue, 5 Aug 2003, Ville Herva wrote:

> On Tue, Aug 05, 2003 at 08:07:43AM -0400, you [Igor Pechtchanski] wrote:
> >
> > IIRC, the default installation of sshd as service used the event log for
> > all output, rather than /var/log/sshd.log (though I'm not too sure on this
> > one)...
>
> It certainly seems to, in the event log, there are sshd generated entries.
>
> > However, error code 255 means that the executable could not be executed.
>
> Ack.
>
> > Check the permissions on sshd ("ls -l /usr/sbin/sshd")
>
>  $ ls -l /usr/sbin/sshd
>  -rwxrwxrwx    1 Administ mkgroup_   286720 May 22 23:44 /usr/sbin/sshd
                            ^^^^^^^^

See <http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-RELEASE1.3.20> (a
bit out of date, it seems, but should still give you the general idea).

> That should be runnable by SYSTEM, right?

Well, how about getting a SYSTEM-owned shell and checking? ;-)

> > and the mounts ("/", at least, should be a system mount).
>
>  $ mount
>  c:\cygwin\bin on /usr/bin type system (binmode)
>  c:\cygwin\lib on /usr/lib type system (binmode)
>  c:\cygwin on / type system (binmode)
>
>  $ echo $CYGWIN
>  binmode ntsec tty

Make sure the SYSTEM user doesn't have any *user* mounts (by running
"mount" from a SYSTEM-owned shell).
	Igor
P.S. For instructions on getting a SYSTEM-owned shell, search Google for
"at /interactive" on "cygwin.com".
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]