delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/06/12/08:38:51

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 877786 DOT 7738 DOT bm AT omp102 DOT mail DOT in2 DOT yahoo DOT com
X-Mailer: YahooMailWebService/0.7.199
Date: Thu, 12 Jun 2008 18:08:06 +0530 (IST)
From: Jaspreet Singh <jaspreet_online2000 AT yahoo DOT com>
Reply-To: jaspreet_online2000 AT yahoo DOT com
Subject: Login as SYSTEM
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Message-ID: <670397.65925.qm@web94904.mail.in2.yahoo.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id m5CCcoP5024313

Hey guys,

i got login to bash shell as SYSTEM account. after loged in i can su to any user on my system without password.

HOW it starts as localservice

cygrunsrv -I runassys -p C:/windows/system32/cmd.exe -a "/C start CMD.EXE /K D:\cygwin\bin\bash.exe --login -i" -i --nohide

net start runassys

You are loged in as SYSTEM

The thing is this that i want that 'su' work as it works under UNIX and cron to execute other users crontab. i think i can be done with perl script.


      Bollywood, fun, friendship, sports and more. You name it, we have it on http://in.promos.yahoo.com/groups/bestofyahoo/


--
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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019