0

I have RHEL 6.5 installed in VMware Workstation. When any normal user logs into the the virtual RHEL 6.5 server and runs reboot command, the server is rebooted. Normally, only users having sudo access or root can run reboot commands, and it is executed successfully.

What could be the possible reason that a normal user can login and reboot the system?

4
  • How does your /etc/sudoers look like?
    – slhck
    Commented Nov 26, 2014 at 8:36
  • it looks like normal one.default setting defined then user and group access etc Commented Nov 26, 2014 at 10:12
  • What I meant was that you add the contents of that file to your question... Also, has this been like that all the time, or did you change anything? What groups is the user member of? Anything custom?
    – slhck
    Commented Nov 26, 2014 at 10:25
  • It was by chance I ran reboot as normal user and to my shock it worked. I believe it was there earlier also. In sudoers file no changes done. Commented Nov 26, 2014 at 10:29

1 Answer 1

1

If a user belongs to a group that has access to the reboot binary he can reboot...

Look for the user group(s) and his permissions on those files.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .