This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: runas, su, sudo


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

Attachment: su.sh
Description: Text document

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]