The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > 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
Basic OS question catwomen HP-UX 4 09-08-2006 05:39 PM
a very basic question regarding gcc... caltiger High Level Programming 2 09-04-2006 04:16 AM
Really basic question.... robherms UNIX for Dummies Questions & Answers 1 02-17-2006 06:50 AM
basic question urwannabefriend UNIX for Dummies Questions & Answers 1 04-10-2004 02:21 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-06-2006
Registered User
 

Join Date: Jun 2006
Posts: 55
basic question

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
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 07-07-2006
dsbeerf's Avatar
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.
===
Reply With Quote
  #3 (permalink)  
Old 07-12-2006
Registered User
 

Join Date: Feb 2006
Posts: 84
hello,

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

cheers.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:35 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0