How to autorun bash script with utility accounts as root?
there is a very simple script bach. It is registered to run the RDP and the command init 0 which extinguishes the computer when you exit RDP. As root everything works, and RDP is started and at the end of the session the computer goes out, when run as user upon completion of a session, the computer is not extinguished. Question - how to start a script under user accounts but with the rights root to init 0 worked ?
@reboot /bin/1.bash in crontab prescribed (no use)