X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Date: Wed, 4 Feb 2009 17:41:17 +0530 (IST) From: Jaspreet Singh Reply-To: jaspreet_online2000 AT yahoo DOT com Subject: Re: SYSTEM as root user To: cygwin AT cygwin DOT com In-Reply-To: <20090204095527.GB16129@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <486148.74478.qm@web95210.mail.in2.yahoo.com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 wrote: > From: Corinna Vinschen > 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/