Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Compare between SYS V launched processes and Xinetd processes in Linux.

1 Answers  


What would you do when all the processess hangs and there is no other option in unix?

3 Answers   HP,


What is the role of case sensitivity in affecting the way commands are used?

0 Answers  


You read an article that lists the following command: dd if=/dev/fdo bs=512 of=/new what does this accomplish?

0 Answers  


What does uname do in linux?

0 Answers  


How do I check command history?

0 Answers  


What are the basic command in linux?

0 Answers  


What does the ps command do in linux?

0 Answers  


How can I create a file with cmd?

0 Answers  


What does pwd mean in linux?

0 Answers  


in LINUX,What are two subtle differences in using the more and the pg commands?

2 Answers  


What daemon is used for scheduling of the commands?

0 Answers  


Categories