开发者

passwd: Authentication failure on redhat

I have an application (APP1) which can only be executed by a user with root privileges but not by root.

Hence I have created another user root1 :

adduser -u 0 -o -g 0 -G 0,1,2,3,4,6,10 -M root1

And then when I am trying to assign a password to this user I get an authentication failure.

[root]# passwd root1

Changing password for user root1.

New UNIX password:

BAD PASSWORD: it is based on a dictionary word

Retype new UNIX password:

passwd: Authentication failure

I looked up a 开发者_JAVA技巧lot on google and tried lot of things suggested but none of them resolved this error.

Could you please help me in resolving the above error, so that I can login to the system using root1 to execute the application(APP1).

Thanks,


The problem is your password. You cannot change the super user password to something really easy and guessable like "qwerty".

Also, Red Hat has a nice article about password security.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜