runas, su, sudo

Cyrille Lefevre cyrille.lefevre-lists@laposte.net
Fri Jul 16 20:56:00 GMT 2010


Le 15/07/2010 20:39, DePriest, Jason R. a écrit :
>
> On Thu, Jul 15, 2010 at 1:31 PM, Lukas Haase<>  wrote:
>> Hi,
>>
>> Is there any (working) way to change privileges in cygwin?
>
> Try this: http://www.cygwin.com/faq/faq.using.html#faq.using.su
>
> It tells you to use ssh@localhost but has a link to some mailing list
> archives that explain why su / sudo can't work properly.

see attachment, you'll be happy :-)

you'll have to add the following line to /etc/sshd_config, don't forget 
to restart the service !

AcceptEnv LANG LC_* CYGWIN_*

sometime, I'll make it a cygports...
a sudo.sh like also exists, but I have to document it before...

Regards,

Cyrille Lefevre
-- 
mailto:Cyrille.Lefevre-lists@laposte.net
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: su.sh
URL: <http://cygwin.com/pipermail/cygwin/attachments/20100716/55f49b34/attachment.ksh>
-------------- next part --------------
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list