Hi,
I'm just beginning with linux (Centos 6, x86_64), so this might be not a smart question :)
Anybody know how to fix this "Acces Denied" error message I keep getting when logging in to my linux box with SSH using Putty ?
[code]
login as: xxxxxx
[b]Access denied[/b]
xxxxxx@192.168.1.250's password:
[/code]
logging in is not failing, just the weird errormessage is throwing me off...
here a snippit from the /var/secure log, no interesting entries at all
[code]
Oct 31 22:09:12 localhost sshd[6829]: Accepted password for xxxxxx from 192.168.1.2 port 51309 ssh2
Oct 31 22:09:13 localhost sshd[6829]: pam_unix(sshd:session): session opened for user xxxxxx by (uid=0)
[/code]
The user xxxxxx has all privileges according to the sudoers file:
[code]
## Allow root to run any commands anywhere
root ALL=(ALL) ALL
xxxxxxx ALL=(ALL) ALL
[/code]
The messages log has no entries of this at all.
Thanks for any tips ..
Regards,
Paul.
[SOLVED] Access Denied message after Putty login
Re: Access Denied message after Putty login
[quote]
The user xxxxxx has all privileges according to the sudoers file:
[/quote]
This has nothing to do with the problem or the solution, sudoers is only used when you prefix whatever command you want to run with the word 'sudo'.
Do you have selinux enabled and are there any denials listed in /var/log/messages or in /var/log/audit/audit.log?
The user xxxxxx has all privileges according to the sudoers file:
[/quote]
This has nothing to do with the problem or the solution, sudoers is only used when you prefix whatever command you want to run with the word 'sudo'.
Do you have selinux enabled and are there any denials listed in /var/log/messages or in /var/log/audit/audit.log?
[SOLVED] Access Denied message after Putty login
In Putty Configuration for that session:
SSH-AUTH-GSSAPI
Uncheck both GSSAPI boxes
Then connect and see what happens.
SSH-AUTH-GSSAPI
Uncheck both GSSAPI boxes
Then connect and see what happens.
Re: Access Denied message after Putty login
[quote]
TrevorH wrote:
[quote]
The user xxxxxx has all privileges according to the sudoers file:
[/quote]
This has nothing to do with the problem or the solution, sudoers is only used when you prefix whatever command you want to run with the word 'sudo'.
Do you have selinux enabled and are there any denials listed in /var/log/messages or in /var/log/audit/audit.log?[/quote]
-Selinux is enforced - type: targeted.
[code]
SELINUX=enforcing
SELINUXTYPE=targeted
[/code]
- Nothing in /var/log/messages
- No denials in audit.log, everything ends with "success"
Regards,
Paul
TrevorH wrote:
[quote]
The user xxxxxx has all privileges according to the sudoers file:
[/quote]
This has nothing to do with the problem or the solution, sudoers is only used when you prefix whatever command you want to run with the word 'sudo'.
Do you have selinux enabled and are there any denials listed in /var/log/messages or in /var/log/audit/audit.log?[/quote]
-Selinux is enforced - type: targeted.
[code]
SELINUX=enforcing
SELINUXTYPE=targeted
[/code]
- Nothing in /var/log/messages
- No denials in audit.log, everything ends with "success"
Regards,
Paul
Re: [SOLVED] Access Denied message after Putty login
[quote]
vonskippy wrote:
In Putty Configuration for that session:
SSH-AUTH-GSSAPI
Uncheck both GSSAPI boxes
Then connect and see what happens.[/quote]
This was the solution ! At first I thought not, but I had some trouble making the changes in putty stick.
Removing the first checkbox solved the problem.
Thanks !!
Regards,
Paul
vonskippy wrote:
In Putty Configuration for that session:
SSH-AUTH-GSSAPI
Uncheck both GSSAPI boxes
Then connect and see what happens.[/quote]
This was the solution ! At first I thought not, but I had some trouble making the changes in putty stick.
Removing the first checkbox solved the problem.
Thanks !!
Regards,
Paul
- AlanBartlett
- Forum Moderator
- Posts: 9345
- Joined: 2007/10/22 11:30:09
- Location: ~/Earth/UK/England/Suffolk
- Contact:
Re: [SOLVED] Access Denied message after Putty login
Thank you for reporting back.
For posterity (and on your behalf) the leading post of this thread has been marked [SOLVED].
For posterity (and on your behalf) the leading post of this thread has been marked [SOLVED].