Re: equivalent to su or sudo?

2018-09-30 Thread Erik Soderquist
On Fri, Aug 17, 2018 at 6:01 AM, Ulli Horlacher wrote: > I need to run some scripts with full administrator rights (for chown, > chmod, setfacl). > Is there a cygwin equivalent to su or sudo? I've actually found that after installing and configuring sshd as a service, "ssh local

Re: equivalent to su or sudo?

2018-08-17 Thread cyg Simple
On 8/17/2018 4:33 PM, David Rothenberger wrote: > Ulli Horlacher wrote: >> I need to run some scripts with full administrator rights (for chown, >> chmod, setfacl). >> Is there a cygwin equivalent to su or sudo? >> > > I use the following shell script to st

Re: equivalent to su or sudo?

2018-08-17 Thread David Rothenberger
Ulli Horlacher wrote: > I need to run some scripts with full administrator rights (for chown, > chmod, setfacl). > Is there a cygwin equivalent to su or sudo? > I use the following shell script to start a command as Administrator. I mainly just use it to start mintty. #!/

Re: equivalent to su or sudo?

2018-08-17 Thread Achim Gratz
Ulli Horlacher writes: > I need to run some scripts with full administrator rights (for chown, > chmod, setfacl). Whatever runs these scripts must already have aquired administrative rights. > Is there a cygwin equivalent to su or sudo? No, you can only start out with administrati

Re: equivalent to su or sudo?

2018-08-17 Thread Andrey Repin
Greetings, Ulli Horlacher! > I need to run some scripts with full administrator rights (for chown, > chmod, setfacl). > Is there a cygwin equivalent to su or sudo? If by that you mean "run privileged program inside a user terminal", no. This is inherently insecure and not supp

Re: equivalent to su or sudo?

2018-08-17 Thread Ulli Horlacher
On Fri 2018-08-17 (12:29), john doe wrote: > On 8/17/2018 12:01 PM, Ulli Horlacher wrote: > > > I need to run some scripts with full administrator rights (for chown, > > chmod, setfacl). > > Is there a cygwin equivalent to su or sudo? > > > > https://stac

Re: equivalent to su or sudo?

2018-08-17 Thread john doe
On 8/17/2018 12:01 PM, Ulli Horlacher wrote: I need to run some scripts with full administrator rights (for chown, chmod, setfacl). Is there a cygwin equivalent to su or sudo? https://stackoverflow.com/questions/4090301/root-user-sudo-equivalent-in-cygwin -- John Doe -- Problem reports

equivalent to su or sudo?

2018-08-17 Thread Ulli Horlacher
I need to run some scripts with full administrator rights (for chown, chmod, setfacl). Is there a cygwin equivalent to su or sudo? -- Ullrich Horlacher Server und Virtualisierung Rechenzentrum TIK Universitaet Stuttgart E-Mail: horlac...@tik.uni-stuttgart.de