Solved su root or login root in linux

March 28, 2014 at 04:09:05
Specs: linux, 2G RAM
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 •

March 28, 2014 at 04:40:14
✔ Best Answer

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