Mail Archives: cygwin/2009/02/04/07:15:32
The reason is something that most of the people not be interested.
Reason is that i am tring to port Webmin+Virtualmin to the Cygwin for web
Administration as it is. I ran webmin as SYSTEM user and in cron module i
gave it command like 'su USER -c "crontab -l"'. So webmin is now write=20
crontab for other users. The reason is that SYSTEM user can 'su' to any
user without any password needed now the problem is that webmin=20
knows 'root' as superuser as it is in native in any linux system and in=20
the cygwin it is 'Administrator' user it runs everything as it is supose=20
to be but the problem comes when it is permissions on the conf files and=20
other under /usr/local/webmin. I was just gussing that if i made SYSTEM
user as root user then the problem with the permissions will go
away the only problem is that i cant ssh or anything else similar
by root user as it will be SYSTEM user and it does not have any password
then the question apears what will happen to other application under
that are under cygwin like chmod, named, httpd, and all the others.
the procedure i thought is following in steps
run bash as SYSTEM user (i got code how to do that)
run setup.exe (i am using Cygwin 1.7)
install just for me
edit passwd to make copy of SYSTEM User to above all others and rename to
root, Administrator become admin
install webmin as root user=20
what will next happen dont know
Why webmin - it can do crontab for others, useradmin works fine, even mount
works fine, and bunch of other things too
--- On Wed, 4/2/09, Corinna Vinschen <corinna-cygwin AT cygwin DOT com> wrote:
> From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
> Subject: Re: SYSTEM as root user
> To: cygwin AT cygwin DOT com
> Date: Wednesday, 4 February, 2009, 3:25 PM
> On Feb 4 00:18, Jaspreet Singh wrote:
> > hi,
> >=20=20
> > How about if i make SYSTEM user as root in cygwin and
> > Administrators
> > Group as root Group, even install Cygwin 1.7 by
> SYSTEM
> > user, Does it
> > effect on Cygwin working in any way.
>=20
> I don't understand exactly what you're up to.=20
> There's no really good
> reason to install Cygwin as SYSTEM user. You can install
> it just using
> any administrative account, that should lead to the most
> servicable
> results. The "there's only one single godlike
> admin account called
> root" concept of Unix is only partly imposable on
> Windows.
>=20
>=20
> Corinna
>=20
> --=20
> Corinna Vinschen Please, send mails
> regarding Cygwin to
> Cygwin Project Co-Leader cygwin AT cygwin DOT com
> Red Hat
>=20
> --
> Unsubscribe info:=20=20=20=20=20
> http://cygwin.com/ml/#unsubscribe-simple
> Problem reports: http://cygwin.com/problems.html
> Documentation: http://cygwin.com/docs.html
> FAQ: http://cygwin.com/faq/
Add more friends to your messenger and enjoy! Go to http://messenger.=
yahoo.com/invite/
--
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/
- Raw text -