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]

RE: Small alternative to su


The NT 4 Resource Kit contains an SU client and server.

-ME

-----Original Message-----
From: cygwin-owner@sources.redhat.com
[mailto:cygwin-owner@sources.redhat.com] On Behalf Of Christopher Dale
Campbell
Sent: Friday, July 06, 2001 6:08 AM
To: Cygwin
Subject: Fw: Small alternative to su


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thanks for clearing that up.  Is there another alternative for NT users?

Christopher Dale Campbell
DaleCampbell(at)revolutionist(dot)com
/*******************************
For PGP & GPG Keys, finger
campbell(at)cyberspace(dot)org
*******************************/


- ----- Original Message -----
From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: "Christopher Dale Campbell" <DaleCampbell@revolutionist.com>;
"Cygwin" <cygwin@cygwin.com>
Sent: Friday, July 06, 2001 5:59 AM
Subject: RE: Small alternative to su


>
>
> > -----Original Message-----
> > From: cygwin-owner@sources.redhat.com 
> > [mailto:cygwin-owner@sources.redhat.com]On Behalf Of Christopher 
> > Dale Campbell
> > Sent: Friday, July 06, 2001 1:26 PM
> > To: Cygwin
> > Subject: Small alternative to su
> >
> >
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > If you need to run programs (in cygwin) under a different user, but
don't
> > want to log out, here's a simple thing that I use.  Create a 
> > shortcut to "%SystemRoot%\system32\cmd.exe".  Then right click on 
> > the shortcut,
select
> > Properties, and check the box 'Run as different user.'  Now when you
click
> > that shortcut a dialog will pop up asking which user you'd like to 
> > run
it
> > as.  When the DOS CLI opens up, just \cygwin\cygwin.bat (or where 
> > ever
you
> > have it located) to run the cygwin batch file.  This works on most 
> > other shortcuts, too.  However, the 'Run as different user' box is 
> > greyed out
on
> > the cygwin shortcut.  Probably because it's a shortcut to a batch 
> > file (?). Hope this helps.  Sure does beat logging in and out all 
> > the time.
> >
> > And obviously, this is refering to NT and 2000 boxes (I'm using 
> > 2000).
> >
>
> this works on 2000 and above *only*. "Run as" does not exist on NT.
>
> -andrej
>
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBO0WOGIXnWfGgRqP+EQIqSACghpge3xxEpnfH1q2G5cXcHC5i7vkAoO5u
MFoTmYC+kngeyIaFvCADzoRl
=wU8z
-----END PGP SIGNATURE-----



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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]