Xcdroast

Igor Pechtchanski pechtcha@cs.nyu.edu
Sat Aug 23 18:53:00 GMT 2003


On Sat, 23 Aug 2003, Camron W. Fox wrote:

> > -----Original Message-----
> > From: cygwin-xfree-owner@cygwin.com
> > [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Igor Pechtchanski
> > Sent: Saturday, August 23, 2003 04:05
> > To: cygwin-xfree@cygwin.com
> > Subject: Re: Xcdroast
> >
> >
> > On Sat, 23 Aug 2003, Sylvain Petreolle wrote:
> >
> > > Camron, are you still trying to make xcdroast work ? Seems you made it
> > > compile since you know about the root config issue :)
> > > It seems the only way we have for now is to generate a root
> > > configration file on another OS which has root user.
> > > [snip]
> >
> > What exactly is the "root configuration" issue?  If all that's needed is a
> > user named "root" with sufficient privileges (say, user context
> > switching), simply copy the entry for the SYSTEM user in your /etc/passwd
> > and change the user name to "root", e.g.
> >
> > root:*:0:18:,S-1-5-18:/root:/bin/bash
> > SYSTEM:*:18:18:Local System,S-1-5-18::
> >
> > As you can see, you can also change the UID of "root" to "0".
> >
> > If it's some other issue, sharing the exact details would be helpful.
> >       Igor
>
> Igor,
>
>         This may be a NUG question, but how do you "su - root"?  I'm
> running XP Pro, so my account (cwfox) is the administrator and I have no
> idea what the password for root would be.
>
> Best Regards,
> Camron

Camron,

Well, Cygwin doesn't have a working "su", but you can accomplish the same
goal by setting up sshd and allowing passwordless login as "SYSTEM" from
your account.  You can then do "ssh SYSTEM@localhost".

However, there's still a question of *why* you need to "su root".  What
capabilities of "root" do you need?  If you need the ability to switch
user contexts, then "SYSTEM" as "root" should be fine.  If you need to
create files owned by "root", then you can make the "Administrators" group
"root" and simply use "chown".
	Igor
-- 
				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



More information about the Cygwin-xfree mailing list