There are 2 operating systems on the computer. I want users to be able to type in reboot in the user name, hit enter for the password, and then have the computer reboot that way they can pick with operating system they want to use. Can someone please help me. I've tried everything I can think of. I run linux 7.3 on the clients, but I run 9.0 on my server which is where the passwords are stored. If I have to do it on each individual client that's no problem. I have root set up on each client.

Linux 7.3
Started by
matthewvogt
, Jun 01 2006 11:23 AM
#1
Posted 01 June 2006 - 11:23 AM

There are 2 operating systems on the computer. I want users to be able to type in reboot in the user name, hit enter for the password, and then have the computer reboot that way they can pick with operating system they want to use. Can someone please help me. I've tried everything I can think of. I run linux 7.3 on the clients, but I run 9.0 on my server which is where the passwords are stored. If I have to do it on each individual client that's no problem. I have root set up on each client.
#2
Posted 01 June 2006 - 01:23 PM

I am not sure of which distro of Linux you are running, but often there is the ability to allow a user to be able to reboot the machine, instead of logging out. You might look into that. It would typically be set in the control panel/system settings area (each distro is a bit different in this respect).
If you still want to do what you say, then you can create a passwd file entry with a uid of 0, with the "shell" being /sbin/reboot. I would strongly suggest that you have a password on it, even it is just "reboot", so as to ensure that you don't have the machine accidentally reboot.
Better than that though would be to use sudo to allow users to reboot the machine. You would want it so that they have to enter their password, but they would type "sudo reboot", then they would be asked for their password and the machine would reboot.
If you still want to do what you say, then you can create a passwd file entry with a uid of 0, with the "shell" being /sbin/reboot. I would strongly suggest that you have a password on it, even it is just "reboot", so as to ensure that you don't have the machine accidentally reboot.
Better than that though would be to use sudo to allow users to reboot the machine. You would want it so that they have to enter their password, but they would type "sudo reboot", then they would be asked for their password and the machine would reboot.
Similar Topics
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users
As Featured On:






