root account


How to enable “root” account after a first installation of SLED ?


On 10/02/2014 14:04, cmigroup wrote:

How to enable “root” account after a first installation of SLED ?[/color]

Unlike some other Linux distributions, the root user is enabled by
default with SLED so you should be able to log in using the password
assigned during installation.

Note if you checked “Use this password for system administrator” when
creating a new user during installation then root should have that
password assigned or otherwise you would have been prompted during install.


SUSE Knowledge Partner

If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below. Thanks.


I have an other machine and it is impossible to enable root account, below the error message:

sudo: pam_authenticate: User not known to the authentication module


Did Simon’s previous response help you fix the problem that was the original subject of this thread?

As Simon said, root is enabled by default. I’m not sure exactly what problem you are trying to describe here. Your first sentence talks about it being impossible to enable root, the second sentence is an error message relating to use of the sudo command and I’m not clear on how that relates to the first sentence.

If you have a problem with sudo you cannot fix that unless you have root access. Do you know the root password for this machine?

If for some reason you do not know the root password, there are ways to reset the root password assuming you have physical access to the machine. (I am assuming you are supposed to have root on the machine!)