Why halt -p command needs root in ubuntu if one wants to shut it down?



Why halt -p command needs root in ubuntu if one wants to shut it down?..

Answer / rahul

Because halt -p is a root privileged command and it is found
in /bin directory. If you want that user can run this
command just copy this command from bin to sbin. and now
user can also run this command.

Is This Answer Correct ?    12 Yes 1 No

Post New Answer

More Linux General Interview Questions

What is the difference between an argument and an option (or switch)?

0 Answers  


Which is the best linux for beginners?

0 Answers  


How to change window manager by editing your home directory?

0 Answers  


Can linux run windows games?

0 Answers  


What is linux? How is it different from unix?

0 Answers  






What is difference between at and cron?

0 Answers  


How do I know if wget is installed on linux?

0 Answers  


Can I run freenas with 4gb ram?

0 Answers  


What is initrd image, explanation

3 Answers  


Boot sequence of linux on embedded platform

0 Answers   NetApp,


What is gui in linux?

0 Answers  


What is the minimum number of partitions that you need to install linux?

0 Answers  


Categories