how to give a normal user reboot and shutdown permission?
Plz also mention the step.

Answers were Sorted based on User's Feedback



how to give a normal user reboot and shutdown permission? Plz also mention the step...

Answer / dave_chamoli82

how to give permission to a user using "VISUDO"
# useradd add
# visudo
# User_Alias ADMINS = jsmith, mikem
User_Alias ADD = test

## Command Aliases
## These are groups of related commands...
Cmnd_Alias ADDCMD = /usr/sbin/useradd, /usr/bin/passwd,
/usr/bin/reboot [TYPE THIS LINE]

## Allow root to run any commands anywhere
root ALL=(ALL) ALL
add ALL = ADDCMD [TYPE THIS LINE]
:wq [SAVE & EXIT]

# su - add
$ sudo /usr/sbin/useradd u2
$ /usr/bin/reboot [now your system reboot]

Is This Answer Correct ?    34 Yes 1 No

how to give a normal user reboot and shutdown permission? Plz also mention the step...

Answer / bharath

By using sudo cmd we can give a permission for a normal user
to execute reboot and shutdown.

Is This Answer Correct ?    0 Yes 0 No

how to give a normal user reboot and shutdown permission? Plz also mention the step...

Answer / kumaresanchandran

shutdown: shutdown -h
go to root directory type: init 0

reboot : reboot
go to root directory type: init 6

Is This Answer Correct ?    2 Yes 13 No

how to give a normal user reboot and shutdown permission? Plz also mention the step...

Answer / k.arveen

to reboot
#init 6
to shutdown
#init 0

Is This Answer Correct ?    4 Yes 29 No

Post New Answer

More Linux Commands Interview Questions

I have Laptop. I want to assign DHCP ip address, but in my Laptop having Wireless and with wire NIC cards, it is possible to assign reserve ip address for both NIC card, but same host name?

4 Answers   AOL,


How often do you use grep command and how in Linux operating system?

0 Answers   Arigo Infotech,


What command used for showing user info like Login Name, Canonical Name, Home Directory,Shell etc..?

0 Answers  


How do I find hostname in linux?

0 Answers  


What are grep patterns called?

0 Answers  






What is the symbol of linux?

0 Answers  


What is makefile in unix?

0 Answers  


What does chmod 755 do?

0 Answers  


How do I find my hostname in linux?

1 Answers  


What command you execute to display the last five commands you have entered?

4 Answers  


Write a cron entry for the following scenario:- At 10:30 AM for every Sunday of every 1st month of a quarter.

7 Answers   HP, IBM,


Explain the linux directory commands along with the description?

0 Answers  


Categories