Re: crontab message "must be privileged to use -u"

2020-03-20 Thread Stephen Carrier
On Wed, Mar 18, 2020 at 10:54:51PM +0300, Andrey Repin wrote: > Greetings, All! > > I'm trying to use Cygwin's cron, but have a small issue: > > # crontab -u 18 -l > must be privileged to use -u > > Is there a way around the problem? > I'm in an elevated shell, but it seems crontab is doing a du

Re: crontab message "must be privileged to use -u"

2020-03-19 Thread ASSI
Brian Inglis writes: > Installed libfakesu - fakesu just scans source for functions it can fake - it > is > undocumented and not obvious how you are meant to run it. > One library function can implement suid/sgid exe permission bits. Sorry, then I misremembered what it was for back from the discu

Re: crontab message "must be privileged to use -u"

2020-03-18 Thread Brian Inglis
On 2020-03-18 15:39, Achim Gratz wrote: > Andrey Repin writes: I'm in an elevated shell, but it seems crontab is doing a dumb POSIX check for EUID=0. >> >>> Then wrapping it with fakesu should work (no I have not tried that). >> >> Cool idea, but I'm not up for recompiling crontab >

Re: crontab message "must be privileged to use -u"

2020-03-18 Thread Achim Gratz
Andrey Repin writes: >>> I'm in an elevated shell, but it seems crontab is doing a dumb POSIX check >>> for >>> EUID=0. > >> Then wrapping it with fakesu should work (no I have not tried that). > > Cool idea, but I'm not up for recompiling crontab >.> > Still, thanks for the reply. If you care to

Re: crontab message "must be privileged to use -u"

2020-03-18 Thread Andrey Repin
Greetings, Achim Gratz! > Andrey Repin writes: >> I'm trying to use Cygwin's cron, but have a small issue: >> >> # crontab -u 18 -l >> must be privileged to use -u >> >> Is there a way around the problem? >> I'm in an elevated shell, but it seems crontab is doing a dumb POSIX check >> for >> EUID

Re: crontab message "must be privileged to use -u"

2020-03-18 Thread Achim Gratz
Andrey Repin writes: > I'm trying to use Cygwin's cron, but have a small issue: > > # crontab -u 18 -l > must be privileged to use -u > > Is there a way around the problem? > I'm in an elevated shell, but it seems crontab is doing a dumb POSIX check for > EUID=0. Then wrapping it with fakesu shoul

crontab message "must be privileged to use -u"

2020-03-18 Thread Andrey Repin
Greetings, All! I'm trying to use Cygwin's cron, but have a small issue: # crontab -u 18 -l must be privileged to use -u Is there a way around the problem? I'm in an elevated shell, but it seems crontab is doing a dumb POSIX check for EUID=0. -- With best regards, Andrey Repin Wednesday, Marc