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

How do I find the console in linux?

0 Answers  


What is the most graceful way to get to run level single user mode?

9 Answers   Cisco,


Explain difference between nfs soft and hard mouniting points?

0 Answers  


what is linux utilities and editor

4 Answers   Oracle, Wipro,


How does case sensitivity affect the way you use commands?

0 Answers  


What does (cd dir && command) do?

0 Answers  


What does cd do in linux?

0 Answers  


if i run ls command it will show me the junk output what is problem and how to resolve it

2 Answers   BPO,


What are the basic commands for user management?

0 Answers  


What are vim commands?

0 Answers  


How can you check the amount of lines in a file?

0 Answers  


What is cd command used for?

0 Answers  


Categories