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 many cmd commands are there?

0 Answers  


What is bash history linux?

0 Answers  


How to write the output of a command to a file?

0 Answers  


What is the use of cp p command?

0 Answers  


What is sudo bash command?

0 Answers  


Suppose you try to delete a file using the rm command and the deletion fails. What could be the possible reason?

0 Answers  


what command would you use to find the hostname of the server if yo ony have the ip address?

10 Answers  


What is a ulimit in unix?

0 Answers  


What is FC command?

0 Answers  


what is the command to make a process to run in the background from foreground?

5 Answers   Patni,


How do you open a command prompt when issuing a command?

0 Answers  


What is parallel ssh?

0 Answers  


Categories