how to reset failed login in solaris 8.0


 
Thread Tools Search this Thread
Operating Systems Solaris how to reset failed login in solaris 8.0
# 1  
Old 07-06-2006
how to reset failed login in solaris 8.0

hi, can someone tell me " how to reset failed login in solaris 8.0"
a user is not able to login and inspite of my changing password cannot.
I believe it must be because the user tried many attempts.
how do i reset the failed login for the user.
Thanks!
karthik
# 2  
Old 07-08-2006
Quote:
Originally Posted by karthikosu
hi, can someone tell me " how to reset failed login in solaris 8.0"
a user is not able to login and inspite of my changing password cannot.
I believe it must be because the user tried many attempts.
how do i reset the failed login for the user.
Thanks!
karthik
O.K., I'll give this a try.

Questions:

What error, exactly, is this user getting when they try to login ?
Are any other users having a problem with logging in ?
Are you using a "centralised authentication mechanism" like NIS, NIS+, or LDAP ?
On "what interface" are they trying to login ? Via telnet ? Via SSH ? Are they trying to login to the CDE or GNOME windowing system on the console ?

Solaris does not automatically lock out an account after a number of failed login attempts. Something else must be prohibiting the login. I can only think of:

1) There is a file "/etc/nologin" and NOBODY but root can login.
2) The "shell" defined in the last field of this users entry in the password file does not exist or is NOT listed in /etc/shells.
3) there is a fatal error in their .profile, .login, .cshrc, or .bashrc "initialisation file"
4) There is a minor error in any of the above listed files, and the user is trying to login on the "console" using CDE or GNOME.
5) The users home directory does not exist.
6) The users home directory and files are not owned by the user and/or access to this directory is denied (via permissions).

I think there are a few other reasons, but I am drawing a blank now.

You can "debug" this problem by taking some small steps.

Assuming you can become 'root' on this machine, become root and change to this user's home directory. 'su' to this user by executing:

# su user

source their initialisation file by typing:

$ set +x
$ . ./.profile (or whichever file is the correct file for sh, ksh, or bash)

OR by typing:

% /bin/csh -n ./.cshrc
% /bin/csh -n ./.login

But ONLY IF the user uses the C-Shell or tcsh

This should lead you in the direction of finding the problem.

You could also execute, as root:

su - username

Which will act as if the user logged into the system, and show you any fatal errors (on your screen) that happened during the "login process".

Answer those questions I asked at the beginning, they are important to localising the problem.
===
# 3  
Old 07-12-2006
hello,

can you just login as root and passwd <user>??

cheers.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Fatal: Read from socket failed: Connection reset by peer [preauth]

Hello, I have recently updated my AIX machine from version 6.1.7.5 to 6.1.9.1 and i noticed that the errpt of the server is full of ssh messages like the one below: sshdprocess_id>]: fatal: Read from socket failed: Connection reset by peer Does anyone knows if this a known bug of the ssh... (15 Replies)
Discussion started by: omonoiatis9
15 Replies

2. Solaris

Found a Sun Ultra 10 Elite3D workstation, and it boots to a login screen. How can I reset the OS?

I just got moved to a new office building, and as I was unpacking my stuff I saw an odd tower PC in the nearby recycling heap. It turned out to be a Sun Ultra 10 Elite3D workstation, complete with keyboard, mouse, and monster-sized CRT with the wacky Sun video cable. I just set everything up and... (4 Replies)
Discussion started by: wowbobwow
4 Replies

3. Solaris

Reset failed login count

Hi, Can someone tell me the command to do this in solaris 5.10 please? I've trawled around the internet for ages but all I can find is the AIX command... Thanks (2 Replies)
Discussion started by: Grueben
2 Replies

4. AIX

Clear failed login count

What's actually the difference between these two command: 1) chsec -f /etc/security/lastlog -a "unsuccessful_login_count=0" -s username 2) chuser unsuccessful_login_count=0 username Are there any impact on executing either one of those command to clear/reset the failed login count in AIX?... (2 Replies)
Discussion started by: ph4nt0m227
2 Replies

5. Solaris

Console Login Failed..

Dear Unix Team, This is sudhansu once again. I need some tips on below issue. Sometimes we got calls from customer that their console got hangged means they are not able to access the server through console ip. in that case "resetsc -y" will resolve the issue. 2. But couple of days... (2 Replies)
Discussion started by: sudhansu
2 Replies

6. Solaris

Solaris 2.6 failed login logging

Holla! Sorry to spam the board with all my Solaris 2.6 questions (I just found this forum). My most recent problem is that not ALL failed log-ins are getting logged in /var/log/authlog. It seems to work fine for the "su" command from a non-root user, but the actual "login" command or a desktop... (4 Replies)
Discussion started by: rrossorr
4 Replies

7. Solaris

Reset password and login SC at SF V440

Dear All, I Have server SF V440, OS solaris is down and I must check logs at Sc, but I forgot my login and password. How to reset login and password at SF V440? Thanks Best Regards Jiman (3 Replies)
Discussion started by: mbah_jiman
3 Replies

8. UNIX for Dummies Questions & Answers

fatal: Read from socket failed: Connection reset by peer

I get this error when I log in through console: "fatal: Read from socket failed: Connection reset by peer". Can you tell me what this is and why it happens, and how to stop it? Thank you. (1 Reply)
Discussion started by: iamnew2solaris
1 Replies

9. Solaris

FTP login failed.

Hi guys, Can you please help me. I have SUN V100 server running solaris 8. I also have a Redhat Linux 6.2 machine and a windows XP machine on the network. I'm trying to copy files from the Linux and XP machines to the V100 server. When I try to ftp to the solaris machine, I'm challenged... (2 Replies)
Discussion started by: Stin
2 Replies

10. Solaris

Last Failed Login

Hi, Would appreciate it if someone could shed me some light here as I'm yet to find any related information in this forum with regards to my problem. Basically, I would like to display "Last Unsuccessful login" information when a user successfully logs-in to the system. I can't seem to find... (2 Replies)
Discussion started by: gilberteu
2 Replies
Login or Register to Ask a Question