Hi, this is my first post on this forum and I hope I posted this in the right section. I have problems loggin in after issuing a shutdown command.sudo shutdown -h +22 This is a command that i use frequently.
I logged in to my Debian 7 server, did an upgrade using apt and wanted to shutdown+reboot using shutdown -r now as i did a lot of times before. This time, the shutdown command can't be found anymore. I've already read somewhere that i can try it with the whole path /sbin/shutdown, but the programm isn't there, too. I also can't find the reboot command anywhere.
How are you, good afternoon, I do not speak and I do not write in English, and I'm iniciandome in unix / linux on my own, I am using the google translator, my question is this, know what are the shutdown command to change user State:
# shutdown -y -g0 -i0 (completely off my system)
# shutdown -y -i1 (switch to single-user state)
but when I switch to another state like 2 or 3 or 4 or 5 can not
What is the time you add to the shutdown command?By default when you issue the shutdown command without specifying any time, it waits a minute before actually shutting down as you can find in the manual for shutdown.If you want to shutdown immediately then you need to add "now" behind the command.You can also use the poweroff command instead of shutdown and it should by default do it imm
Using Remote Desktop (RDP/Terminal Services), I can't select Shutdown/Reboot from the Windows XP start menu, so I generally have to open a terminal and enter shutdown -s -t 0 to initiate an immediate shutdown.
But, for a new system, I have added a non-administrative user to the Remote Desktop Users group, and when I try to issue a shutdown command as that user, the command returns the following e
In Gentoo, How do I allow normal users to shutdown/reboot?
I try to shutdown as my user el but get this response:
el@voyager ~ $ shutdown now
shutdown: you must be root to do that!
Usage: shutdown [-akrhPHfFnc] [-t sec] time [warning message]
-a: use /etc/shutdown.allow
-k: don't really shutdown, only warn.
-r: reboot after shutdown.