Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
1answer
1k views

Poweroff or Reboot as normal User

To run the command poweroff or reboot one needs to be super user. Is there anyway I can run this as a normal user? I just don't want to sudo and enter my password every time I reboot or power off.
3
votes
1answer
203 views

Rolling your own init: How to shutdown/restart?

After reading this answer, I thought it would be funny to roll my own init on Python, so I wrote this in /init-python. #!/usr/bin/python3 import os import subprocess # Make / writable! ...
1
vote
2answers
826 views

Warn users that the system is going down for a reboot

I'm new to linux server administration, and I wonder how you would warn users that the system is going down for a restart. According to LPIC1 Training here: ...
3
votes
7answers
882 views

Rebooting fails randomly

That is, the following command fails at times: $ sudo reboot The last message on terminal, after which the machine gets stuck, requiring a power cycle: Restarting system. I tried the following ...
5
votes
2answers
777 views

How can I ensure only the root user have the right to halt/reboot the system?

CentOS Linux by default allows all users to have permission to "halt" & "reboot" the system by using the commands halt and reboot. How can I configure my system so that only the root user has the ...
2
votes
2answers
3k views

Determine if reboot is required to update kernel?

I am running a server which runs on CentOS with cPanel (latest version) and I have it set to automatically update using yum. Since it needs to be rebooted in order to update the kernel (and possibly ...
2
votes
3answers
487 views

Do I need to stop processes like mysql or apache before “reboot”?

I have been wondering if issuing a reboot command safely stops running LAMP processes like MySQL or Apache?
1
vote
0answers
519 views

Why does my server not shutdown properly?

When I run $ reboot on my embedded FreeNAS 0.7 (FreeBSD 7.2) it does start the shut down procedure but seemingly hangs. I have registered a command to start a service script which is executed on ...
15
votes
1answer
2k views

Why are reboot, shutdown and poweroff symlinks to systemctl?

In Arch Linux, if I do ls -l in /sbin, I can see that reboot, shutdown and poweroff are all symlinks to /usr/bin/systemctl. But issuing reboot, shutdown and systemctl commands obviously does not all ...
2
votes
1answer
234 views

How to customize logout options under Kubuntu

I'm running a machine with Kubuntu and Windows XP in dual-boot. I recently learned about the very useful grub-reboot command, and id like to know if it is possible to customize the logout options ...
0
votes
1answer
2k views

What caused my CentOS 6.4 box to reboot itself?

I noticed that the MySQL daemon running on my CentOS 6.4 machine was suddenly not running anymore. I checked the MySQL log, but didn't see anything relevant: 121229 22:17:45 mysqld_safe mysqld from ...
5
votes
4answers
6k views

iptables rules not reloading on CentOS 6.x

I have one single ipset added to my iptables on a CentOS 6.x box and this rule is lost when the machine reboots. I've found this answer showing how to make a Ubuntu system reload the iptables rules ...
2
votes
0answers
248 views

gnome-settings-daemon not saving Settings after reboot; Mint 14 XFCE

I am running Linux Mint 14 with xfce on my Asus UX31A and switched to gnome-settings-daemon, because this way all the function keys work out of the box. Disabled XFCE Volume Daemon as advised here: ...
2
votes
0answers
831 views

Chromium OS says “Your system is repairing itself. Please wait” and then reboots

I downloaded ChromeOS-Vanilla-3851.0.2013_03_17_1641-r7af8fe3d.zip from chromeos.hexxeh.net, then extracted and "burned" to a 4GB USB drive with dd ...
0
votes
0answers
39 views

Frozen Linux Recovery Without SysReq

RHEL system has run out of memory and is now frozen. The SysReq commands are not working, so I am not even sure that /proc/sys/kernel/sysrq is set to 1. Is there any other "safe" way I can reboot ...
35
votes
4answers
43k views

What is the difference between reboot , init 6 and shutdown -r now?

I just want to know difference between in reboot init 6 shutdown -r now and which is the safest and the best?
2
votes
1answer
1k views

Apache boot without asking for passwd

So I'm maintaining a server which has a verified SSL certificate setup, however there is a password on the private key and so whenever apache is reboot, we get a message asking for the password. This ...
3
votes
1answer
763 views

Does setting the system time back impair logrotate operation?

I'm working on an embedded linux system where the root filesystem is mounted from an SDcard. Although many systems like this just mount /var/log on a ramdisk, I'd like to save the logs to the SDcard ...
-1
votes
1answer
102 views

How to know what will execute at startup/bootup?

I would like what scripts will run at start, without needing to "restart and see what happens", is there any way to know what 'services' are ready to run? Shoud I check every single file in ls ...
0
votes
1answer
401 views

Server no longer responsive after reboot

I changed my fstab into this: # # /etc/fstab # Created by anaconda on Sat Jan 12 02:12:44 2013 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), ...
2
votes
1answer
392 views

Crunchbang hibernate rebooted system?

I installed the latest stable 64bit Crunchbang backport. When I tried to hibernate it last night, it rebooted into the locked state - when I logged back in all my windows/apps were as they were again. ...
-3
votes
4answers
6k views

Cronjob for rebooting everyday

I have set this cronjob because I want my server to be rebooted everyday at 05:00 # file: /etc/cron.d/reboot * 5 * * * root reboot &> /dev/null I think it worked the first time as I was ...
1
vote
1answer
342 views

How to start java application after machine reboot?

I'm wondering if there is easier way to start java application (just tomcat server) after machine has been rebooted? Possible answers: Add the application as a service and then add it using ...
1
vote
0answers
37 views

How can I choose which OS grub will reboot me into—before I reboot? [duplicate]

Possible Duplicate: How can I reboot into windows from inside my Linux shell? When I reboot and want to select another kernel image in grub2 or another OS like windows I have to wait until ...
1
vote
3answers
1k views

Restoring Windows XP from grub

Previously I had a dual boot with Windows XP and Fedora. I have deleted Fedora and extended the C drive using Mini Tool Partition Wizard. Then I restarted the system with the Windows XP bootable CD. ...
0
votes
0answers
223 views

A Reboot() command with failover

I'm implementing a Reboot() call in my application. It's an embedded application, so no console, keyboard or power switch. The Reboot() must eventually restart the system no matter what. Ideally, I ...
4
votes
2answers
304 views

How to safely shutdown computer during boot sequence?

Due to a bug my computer has stopped in the middle of the boot sequence, just waiting. If I type anything, it prints stuff like ^[[B. I do not want to damage the files on the computer by pressing the ...
3
votes
1answer
917 views

How to check will my computer is going to reboot(or shutting down)?

When I send a reboot command(or shutdown) command to a Linux machine does it keeps that messages at somewhere and can I query it. I.e. I will send a reboot command and after that I will run another ...
24
votes
4answers
3k views

Save entire process for continuation after reboot

I developed an algorithm for a fairly hard problem in mathematics which is likely to need several months to finish. As I have limited resources only, I started this on my Ubuntu 12.04 (x86) laptop. ...
14
votes
4answers
6k views

How can I tell GRUB I want to reboot into Windows—before I reboot?

I have a dual boot Linux/windows system set up, and frequently switch from one to the other. I was thinking if I could add a menu item in one of the menus to reboot directly into windows, without ...
6
votes
1answer
759 views

Meaning and commands for Ctrl+Alt+Del

In my gnome GUI desktop of Ubuntu 12.04, Ctrl+Alt+Delete will log out instead of rebooting. But I was told that Switching to a text-based virtual console and pressing Ctrl+Alt+Delete will ...
10
votes
4answers
540 views

How do I shutdown, reboot and logout the system from the command-line?

I would like to do that using the command-line, because sometimes my computer freezes and I need to force a shutdown (I know it's not good to the hardware). And: What is the difference between Halt ...
4
votes
1answer
406 views

Why do SELinux policies require a system restart?

When changing SELinux policies, I've been reading that you're required to restart the system. What changes would require this? Are there certain policy changes that would not require a restart?
3
votes
1answer
911 views

When can one reboot from inside a chroot environment?

Sometimes when I chroot into some folder , I could use reboot to reset my box, but sometimes I can't. So I want to know why I could do that sometimes and why. UPDATE The chroot environment is ...