Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I would like a userid to allow logging into a box without a password. I am not sure how to accomplish this as changing the password to nothing is not allowed. Thanks

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

On linux, for example, if you changed /etc/shadow in the following way you would accomplish what you want.

Change this:

user:$1$xxxxxxxxxxxxxxxx:14650:0:99999:7:::

To:

user::14650:0:99999:7:::

For a better answer however, I would recommend looking into ssh keys.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.