LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   SuSE 10.- How to eliminate root password (https://www.linuxquestions.org/questions/linux-security-4/suse-10-how-to-eliminate-root-password-388315/)

klipp 12-01-2005 11:43 AM

SuSE 10.- How to eliminate root password
 
Could someone please tell me how to eliminate the use of a password for "root". Mandrake has this as an option in their distributions but I've been unable to recreate it in SuSE.
Thanks, and I'm well aware of the security consequenses of doing this.

reddazz 12-01-2005 11:47 AM

Mandriva doesn't really eliminate this. It just puts all users in the wheel group so that they can run everything with root privileges. Obviously you know the security implications of this, but I fail to understand why you would need to let everyone run with all root privileges.

Gsidious 12-01-2005 12:29 PM

Just wondering, Why would you want to eliminate the root password?!? Anyway, open a terminal & as "root" type "passwd". You will be prompted for the password, just hit the Enter key twice. No more password for root. Now disconnect all network connections and lock the machine in the closet! You should NOT disable the root password if this machine has Any public exposure, (internet, next door neighbor kids...), "root" user should have a good strong password. Well, you say that you know the security issues involved, so it's your machine. Ok, one more option, if you're after a "password-less login" look at the file /etc/sysconfig/displaymanager there is an option for 'DISPLAYMANAGER_AUTOLOGIN=', you should be able to add root there, DISPLAYMANAGER_AUTOLOGIN="root". You might need to play with some other options there, but I think that would be all that would be required for an auto-login as root. One last time, this is not recommended! but hope this helps...

sundialsvcs 12-01-2005 12:43 PM

Even though you may consider it "inconvenient" to actually use the security features of your Linux system ... to be bound by them yourself, I submit for your consideration that it is you, most of all, who need to be (voluntarily) thusly bound in your day-to-day activities.

Why? Because would-be intruders know that system administrators are lazy! :D And, they exploit :eek: that knowledge... They want to find the Ring Bearer. They wantsssssss it...

Most of the time, your "role" on the system is equal to that of an ordinary user. And so, that is exactly what you should be. Not a member of wheel.

When you are maintaining the system, you should have a separate user-account for that role. This account, even so, "is not root." It may be the only account on the system that is authorized to su into root-mode. This account probably is a member of wheel, and probably should be the only one.

Remember that any program that you run, runs as "you." Even if you are the Lord of the Rings, keep the One Ring in your pocketsesssss....

klipp 12-01-2005 02:31 PM

Single user Lan, trying to "meld" the good features of both SuSE 10 and Mandriva 2006. The passwd and "enter" twice doesn't get it for logging in to a terminal as "su" like it does with Mandrake. This is what I would like to duplicate.
Thanks all, for you're responses!


All times are GMT -5. The time now is 01:17 AM.