Re: How to reboot?

2024-01-12 Thread Andinus via beginners
hw @ 2024-01-12 18:49 +01: > Thanks, I thought about sudo and figured it needs a password being > entered. If that works without, I'll start programming and test if > something else gets in the way :) You can configure sudo to not ask for a password. -- To unsubscribe, e-mail: beginners-unsubs

Re: How to reboot?

2024-01-12 Thread hw
On Fri, 2024-01-12 at 21:39 +0530, Andinus via beginners wrote: > hw @ 2024-01-12 14:16 +01: > > > But how can I reboot/restart the computer from the xmpp client? I > > don't want the xmpp client to run as root all the time. I would use > > something like > > > > > > system('shutdown', '-r', '

Re: How to reboot?

2024-01-12 Thread Andinus via beginners
hw @ 2024-01-12 14:16 +01: > But how can I reboot/restart the computer from the xmpp client? I > don't want the xmpp client to run as root all the time. I would use > something like > > > system('shutdown', '-r', 'now'); > > > in the xmpp client, and that does require root privileges. To make >

How to reboot?

2024-01-12 Thread hw
Hi, I would like to write a program (daemon) which will be automatically started by systemd at boot which will allow me to reboot or restart my computer through commands sent via xmpp. The xmpp part (xmpp client) and starting that program is no problem. But how can I reboot/restart the computer

Re: [getting PAUSE account]

2024-01-12 Thread Andrew Solomon
Hi Maxim, I'm sorry to hear this hasn't been resolved! I've just asked on the perl-help irc.perl.org channel - feel free to join in, but otherwise I'll let you know what I learn. Kind regards, Andrew On Fri, Jan 12, 2024 at 6:00 AM Maxim Abalenkov wrote: > Dear all, > > How are you? Thank you