Moe Trin wrote:
> On Fri, 29 Sep 2006, in the Usenet newsgroup comp.os.linux.networking, in
> article <7qgTg.1753$b23.1432@dukeread07>, Mauricio Tavares wrote:
>
>> I have here two centos 4.4 boxes, one is the NIS server and the other a
>> client.
>
> Are you using NIS maps for the passwords?
>
Yes, and ypwhich does give me the right NIS server and ypcat/ypmatch
also returns with all the maps I generated (passwd, group, netgroup,
auto.home). That would make me think the client is indeed seeing the
maps. Both machines are also defined in my /var/yp/securenets. Automount
does properly take my auto.home map and moutns the user partitions.
>> For some reason I have no problem logging into the machine using ssh, but
>> when I sit in front of the machine I cannot log in. Why would that be
>> happening?
>
> What happens when you try? Does the computer catch fire? Who are you
> trying to log in as? Root? A normal user? What is the exact error
> message? What authentication means are you using for SSH? If you want
> help, you _really_ need to provide some details.
>
I log in as my normal user account. If I do it through ssh, all works
fine (login and password are accepted, my homespace is properly
automounted, and I get my prompt). If I do it through the graphical
console (as in sitting in front of machine), after I enter the login and
password, I am told that I entered one of them incorrectly (as in it
does not recognize one of them) and go back to the login screen. Now,
when I check /var/log/messages, this is what I get:
Sep 28 15:16:59 voxel gdm(pam_unix)[2156]: check pass; user unknown
Sep 28 15:16:59 voxel gdm(pam_unix)[2156]: authentication failure;
logname= uid=0 euid=0 tty=:0 ruser= rhost=
Sep 28 15:17:02 voxel gdm-binary[2156]: Couldn't authenticate user
Sep 28 15:17:16 voxel gdm(pam_unix)[2156]: check pass; user unknown
Sep 28 15:17:16 voxel gdm(pam_unix)[2156]: authentication failure;
logname= uid=0 euid=0 tty=:0 ruser= rhost=
Sep 28 15:17:20 voxel gdm-binary[2156]: Couldn't authenticate user
I do not know if this is enough information, but that is what I got so
far. =)
--
Mauricio raub-kudria-com
(if you need to email me, use this address =)
|