Autologin root user GUI
I already know I'm probably going to get flamed for this but I need to make SLES 11 automatically log in the root user when the GUI starts.
(Hopefully this will limit the flames)
I work in a hardware test environment, I can't tell you what I'm working on, but I have a program that tests a specific hardware function within the OS... The program only runs in GUI mode, and in order to automate this software, I have to get the root user logged in at boot in the GUI. I didn't write the program, nor do i have the authority to get the person who wrote it to change it to where it works in the shell. :(
I would prefer a script that would run at startup that would start the GUI from runlevel 3 and and log in as the root user.... and bash is not my forte'
At first you have to enable your normal user to start the application as root without giving a password. this can easily be done with sudo. Assuming that your normal user's name is josephw47 and the application is named /usr/sbin/rootapp the entry in /etc/sudoers (configurable with visudo) for that should look like this:
Remember, there is never a need to start a whole GUI as root just for one program.
|All times are GMT -5. The time now is 11:22 AM.|