LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Not able to login to server thru console but able to login via network using putty (https://www.linuxquestions.org/questions/linux-newbie-8/not-able-to-login-to-server-thru-console-but-able-to-login-via-network-using-putty-711272/)

maxy7710 03-13-2009 04:02 AM

Not able to login to server thru console but able to login via network using putty
 
Hi

I am not able to login to server from console attached to server, every time i enter username & password but it again asks for username & password.
But when i try to login to server from remote machine, login happens properly.

Cant understand whats gone wrong.

linuxlover.chaitanya 03-13-2009 04:09 AM

Are you using root user to login or some other user for that?
Have you made changes to passwd file to not allow the user to login?
Are you using PAM authentication?

maxy7710 03-13-2009 04:21 AM

Quote:

Originally Posted by linuxlover.chaitanya (Post 3474029)
Are you using root user to login or some other user for that?
Have you made changes to passwd file to not allow the user to login?
Are you using PAM authentication?

i am trying thru root user.
no changes are made to passwd file
In /etc/pam.d/sys-auth file i have added
password requisite /lib/security/$ISA/pam_cracklib.so retry=3 minlen=8 lcredit=-1 ucredit=-1 dcredit=-1 ocredit=-1
but this parameter is for password aging

maxy7710 03-30-2009 01:51 AM

issue resolved
i had oracle 10g installed on my system & while installing i added entries to /etc/pam.d/login

session required /lib/security/pam_limits.so

but as my server is 64 bit so i had to add enrty in /etc/pam.d/login

session required /lib64/security/pam_limits.so

so as i made entries

#session required /lib/security/pam_limits.so
session required /lib64/security/pam_limits.so

i was able to login properly.
anyways thanks for the support

mig28mx 01-12-2010 10:27 AM

I have the same problem
 
Hello,
Im facing the same problem and I have added that line on my /etc/pam.d/login

It will be neccesary to restart a service or reboot the server?

Thank you in advance.

vishnug 02-26-2022 12:39 PM

If unable to login through putty and able to login through console
 
Edit fstab

#vi /etc/fstab

Hash the mount point which is not the root filesystem


then take reboot

then unhash the mount points which we have done previous through fstab

#vi /etc/fstab

then mount all

#mount -a

Toopi22 03-02-2022 02:42 AM

Maybe Samba Config may help
 
I'm not sure if this applies or not since I'm a Newbie but I was having a terrible time accessing my shares from my windows computer. This video helped me solve my issue. https://youtu.be/8FkiOfEgyvM Even if it doesn't pertain, it was a great video and really informative. Best of luck!


All times are GMT -5. The time now is 12:37 AM.