NIS user cannot access the server
I'm a newbie to linux, and I have the following problem. We have setup NIS at work, and all users can ssh to the server without any problems, except for one user who always gets a "Permission denied, please try again." message when he tries to ssh to the server. Doing "su user" while on the server works fine. Also from the server, this user can log on to any of the NIS clients without any problems. But for some reason, he cannot access the server.
Are you using diskless workstations?
Have the user delete .ssh* and new .ssh files and directories will be created right away (that is, as soon as he accesses his home? directory).
rm -rf .ssh*
This isn't complicated at all.
If you don't trust me then "mv .ssh* tmp" and those files won't be destroyed. It may be that you have upgraded your distribution, or you have a new version of ssh. This happens commonly when distributions are upgraded, while users are allowed to save their old home directories.
You should also update gnupg with all users. This is simple as well:
As root: gpg --export > mynetwork.asc
and then have all users: gpg --import mynetwork.asc
Then: gpg --refresh-keys to get all of the latest signatures or revocations from an international keyserver.
I just figured out the cause of the problem. This username was not included in the sshlogin group in the /etc/group file. Thanks mhearne for your help.
|All times are GMT -5. The time now is 04:51 AM.|