How can I make the "shutdown" command available for all users?
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
How can I make the "shutdown" command available for all users?
I know that using GUI is a very easy way to do it, but I want to allow all users to access this command from the command line. What should I do? I guess I will have to copy the "shutdown" from /sbin to /bin but how can I make this copy executable for all users (or better for a specific user)? Maybe by using the chmod command but I don't know how exactly...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.