Solved su root or login root in linux

March 28, 2014 at 04:09:05
Specs: linux, 2G RAM
Hi,
I find there is some customized linux with application.
When I use login account root and type the password.
It is not allow to login.
But if I login with specified user and password.
Then I use command "su - " and type root passwd.
It allow you to switch to "root" account .

Or if i use "su - root" and type password .it is not allow to login again .

It is strange I cannot login if I specified to use "root" account .


How to make this setting ..

Please advice in detailed.


See More: su root or login root in linux

Report •

#1
March 28, 2014 at 04:40:14
✔ Best Answer
https://access.redhat.com/site/docu...

It's a good security policy and you should think carefully before changing it. Ideally you would use "sudo" with single commands that need root access rather than invoking a root shell. This helps to avoid accidents.


Report •
Related Solutions


Ask Question