Hi Ramnath,

this seems to be a PAM problem.
Check the login in /etc/pam.d

it should look like this :

#%PAM-1.0
auth       required     /lib/security/pam_securetty.so
auth       required     /lib/security/pam_stack.so service=system-auth
auth       required     /lib/security/pam_nologin.so
account    required     /lib/security/pam_stack.so service=system-auth
password   required     /lib/security/pam_stack.so service=system-auth
session    required     /lib/security/pam_stack.so service=system-auth
session    optional     /lib/security/pam_console.so

and also check the definitions in /etc/security, specially access.conf and
time.conf.
The default is that nothing is set. All is uncommented !
Be carefull about the syntax. Every change in the PAMs is active after
saving the file !


You should think about how this could happen. If this really is the problem
someone had to edit this files. Do you know who ?


best regards,
----
Markus Weimer



-----Original Message-----
From: Ramnath Muthukumar [mailto:[EMAIL PROTECTED]]
Sent: Samstag, 29. Juni 2002 08:47
To: [EMAIL PROTECTED]
Subject: /bin/login: Permission denied


hi guys

i ve a Red hat linux 7 

i am facing a problem in loggin in to my system

it shows the login prompt to enter user id 
when i enter the user id and enter it refreshes and again
asks for the user id


so i tried booting as a single user mode and checked for the 

/bin/login command.. it read 0 bytes 

so i tryed to replace that login file with another file.. but i could
nt able to read or write r remove that file.. 
when i tried

rm -f /bin/login (as root in single user mode)
it gives like this

rm: cannot unlink 'login': Operation not permitted


so i could int able to edit  or delete or move that file.


pls give me a solution for my problem


regards
ramnath muthukumar





________________________________________________________________________
Everything you always wanted to know about cars and bikes,now
 at: http://in.autos.yahoo.com





_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to