Shutting down
14/01/2018 9:30
I have set my default runlevel from 5 to 3. now, i don't know how to turnoff the computer without doing it brutally (i.e., ctrl-alt-del, and afterthe cleanup is done pressing the power button on the box).

i have tried the shutdown utility, but the shell complains it can't find it.

when specifying /sbin/shutdown i get the message: shutdown: you must be root to do that!what's wrong? in runlevel 5 i don't have to be root to shutdown the computerwhen clicking on shutdown in the dialog box of KDE's logout menuitem.

btw, this dialog box doesn't apear in runlevel 3. instead, i have anotherdialog box, and the only 2 items i have in that dialog box are logout andcancel.

TIA

Source is Usenet: alt.os.linux
Sign in to add a comment

Answer score: 5
14/01/2018 9:30 - Bit Twister <BitTwister@localhost.localdomain> wroteoh, sorry: SuSE 9.1.

I actually came across that, but it's not what i want. ctrl-alt-del reboots,and it should stay like that since it comes naturally to reboot usingctrl-alt-del.

i want to be able to shut down using the shutdown utility. maybe if i couldalso add a trick like interpret ctrl-alt-shift-del to shutdown completely(if i knew how! guess it's in /etc/inittab), but what's the usual case?isn't it allowed for users usualy in home PCs to use the shutdown utility?how else would users shutdown the computer when the default runlevel is 3? TIA

Source is Usenet: alt.os.linux
Sign in to add a comment

Answer score: 5
14/01/2018 9:30 - Matan Nassau <foreverlearner@icqmail.com> wrote...

Oops, different user name. :) i'm on windoze now, sorry for the confusion imight have caused. ;)

Source is Usenet: alt.os.linux
Sign in to add a comment

Answer score: 5
14/01/2018 9:30 - Please read http://www.catb.org/~esr/faqs/smart-questions.htmlAlways provde distribution and release level when posting questions. It could help you get better answers.

You might try changing shutdown -r to shutdown -h in /etc/inittabWhich will allow you to do a shudown halt with ctl alt del.

man shutdown will give yet another option.


Source is Usenet: alt.os.linux
Sign in to add a comment

eDiscover
Helpforce eDiscover provides technical articles updated each dayHelpforce eDiscover RSS feed contains the latest technical articles in RSS
Click the logo to go back to the main page
Search eDiscover
  
Categories

Click an icon to go to that category

Helpforce eDiscover contains articles about Microsoft Windows Helpforce eDiscover contains articles about Apple products and MacOS Helpforce eDiscover contains articles about Linux and POSIX operating systems Helpforce eDiscover contains articles about Helpforce Helpforce has a large variety of technical information and articles for you to read Helpforce eDiscover contains articles about databases, MYSQL, SQL Server Oracle Helpforce eDiscover contains articles about Java, JVM and the JRE Helpforce eDiscover contains articles about the QNX operating system Helpforce eDiscover contains articles about Oracle Solaris and Open Solaris Helpforce eDiscover contains articles about RISC OS, Acorn and the BBC Micro Helpforce eDiscover contains articles about Amiga and AmigaOS

Type your comment into the box below