The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
XLite and OpenIms - Login failed Zerro UNIX for Dummies Questions & Answers 0 02-11-2009 07:00 PM
FTP login failed. Stin SUN Solaris 2 02-01-2009 05:54 AM
failed ssh login with keys new2ss UNIX for Advanced & Expert Users 3 01-03-2008 05:42 AM
Last Failed Login gilberteu SUN Solaris 2 08-06-2007 10:32 PM
failed login time limit zuessh AIX 2 05-24-2006 02:19 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-06-2006
karthikosu karthikosu is offline
Registered User
  
 

Join Date: Jun 2006
Posts: 55
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 (permalink)  
Old 07-08-2006
dsbeerf's Avatar
dsbeerf dsbeerf is offline
Registered User
  
 

Join Date: Dec 2005
Location: Chicago, IL USA
Posts: 58
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 (permalink)  
Old 07-12-2006
stdout stdout is offline
Registered User
  
 

Join Date: Feb 2006
Posts: 103
hello,

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

cheers.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:46 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0