Hi All,
I have a situation is driving me round the twist. I can't log in with
(or su to) any new user I create.
Background:
I have had to take over a box built by someone else (who is no longer
available to speak with). The easy answer would be to rebuild said
box, but we currently have a customer on it, and so that is not an
option at the moment.
Problem:
I need to create a couple of new users. I ssh'd into the box with an
existing account, su'd to root and created the new users with useradd,
and set passwords for them.
If I attempt to log in as one of these users, or from the existing
account (not root) I attempt to su - <username> then I get incorrect
password (and I have checked what I am typing very carefully).
I have checked /etc/passwd and the users have a valid shell
(/bin/bash) and a valid home directory.
>From root I have used passwd -u to make sure that they are not locked.
I had a look at bashrc, bash_profile, /etc/profile and can’t see
anything that would cause the user to be locked out.
Any ideas gratefully received.
Cheers,
Ewan