Sponsored Content
Operating Systems Solaris Problem while changing the password in solaris 10 Post 302309085 by daya.pandit on Tuesday 21st of April 2009 04:53:43 AM
Old 04-21-2009
not it's not invalid a/c
the user are exists but not able to change the passowrd

have a look of /etc/defaults/login &
/etc/passwd

Code:
ident  "@(#)login.dfl  1.14    04/06/25 SMI"
#
# Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.

# Set the TZ environment variable of the shell.
#
#TIMEZONE=EST5EDT

# ULIMIT sets the file size limit for the login.  Units are disk blocks.
# The default of zero means no limit.
#
#ULIMIT=0

# If CONSOLE is set, root can only login on that device.
# Comment this line out to allow remote login by root.
#
# CONSOLE=/dev/console

# PASSREQ determines if login requires a password.
#
PASSREQ=YES

# ALTSHELL determines if the SHELL environment variable should be set
#
ALTSHELL=YES

# PATH sets the initial shell PATH variable
#
#PATH=/usr/bin:

# SUPATH sets the initial shell PATH variable for root
#
#SUPATH=/usr/sbin:/usr/bin

# TIMEOUT sets the number of seconds (between 0 and 900) to wait before
# abandoning a login session.
#
#TIMEOUT=300

# UMASK sets the initial shell file creation mode mask.  See umask(1).
#
#UMASK=022

# SYSLOG determines whether the syslog(3) LOG_AUTH facility should be used
# to log all root logins at level LOG_NOTICE and multiple failed login
# attempts at LOG_CRIT.
#
SYSLOG=YES

# SLEEPTIME controls the number of seconds that the command should
# wait before printing the "login incorrect" message when a
# bad password is provided.  The range is limited from
# 0 to 5 seconds.
#
#SLEEPTIME=4

# DISABLETIME  If present, and greater than zero, the number of seconds
# login will wait after RETRIES failed attempts or the PAM framework returns
# PAM_ABORT. Default is 20. Minimum is 0. No maximum is imposed.
#
#DISABLETIME=20

# RETRIES determines the number of failed logins that will be
# allowed before login exits. Default is 5 and maximum is 15.
# If account locking is configured (user_attr(4)/policy.conf(4))
# for a local user's account (passwd(4)/shadow(4)), that account
# will be locked if failed logins equals or exceeds RETRIES.
#
#RETRIES=5
#
# The SYSLOG_FAILED_LOGINS variable is used to determine how many failed
# login attempts will be allowed by the system before a failed login
# message is logged, using the syslog(3) LOG_NOTICE facility.  For example,
# if the variable is set to 0, login will log -all- failed login attempts.
#
#SYSLOG_FAILED_LOGINS=5

Code:
"passwd" 20 lines, 1538 characters
munishk:x:150138:1:Munish Kumar:/export/home3/Student2nd_year/munishk/:/bin/sh
sakshis:x:150139:1:Sakshi Sharma:/export/home3/Student2nd_year/sakshis/:/bin/sh
vikleshs:x:150140:1:Viklesh Sharma:/export/home3/Student2nd_year/vikleshs/:/bin/sh
manojc:x:150141:1:Manoj Chopra:/export/home3/Student2nd_year/manojc/:/bin/sh
pooja:x:150142:1:Pooja:/export/home3/Student2nd_year/pooja/:/bin/sh
rajeevk:x:150143:1:Rajeev Kumar:/export/home3/Student2nd_year/rajeevk/:/bin/sh
shallyg:x:150144:1:Shally Garg:/export/home3/Student2nd_year/shallyg/:/bin/sh
gaurav:x:150145:1:Gourav:/export/home3/Student2nd_year/gaurav/:/bin/sh
naveenr:x:150146:1:Naveen Rangray:/export/home3/Student2nd_year/naveenr/:/bin/sh
ritu:x:150147:1:Ritu:/export/home3/Student2nd_year/ritu/:/bin/sh
mayurij:x:150148:1:Mayuri Jangra:/export/home3/Student2nd_year/mayurij/:/bin/sh
yogenders:x:150149:1:Yogender Singh:/export/home3/Student2nd_year/yogenders/:/bin/sh
jyotir:x:150150:1:Jyoti Rani:/export/home3/Student2nd_year/jyotir/:/bin/sh
ashutoshp:x:150151:1:Ashutosh Pandey:/export/home3/Student2nd_year/ashutoshp/:/bin/sh
kapil:x:150152:1:Kapil:/export/home3/Student2nd_year/kapil/:/bin/sh
rajeshk:x:150153:1:Rajesh Kumar:/export/home3/Student2nd_year/rajeevk/:/bin/sh
dineshk:x:150154:1:Dinesh Kumar:/export/home3/Student2nd_year/dineshk/:/bin/sh
parveenk:x:150155:1:Parveen Kumar:/export/home3/Student2nd_year/parveenk/:/bin/sh
diksha:x:150156:1:Diksha:/export/home3/Student2nd_year/diksha/:/bin/sh
arung:x:150157:1:Arun Garg:/export/home3/Student2nd_year/arung/:/bin/sh
~

 

10 More Discussions You Might Find Interesting

1. Solaris

changing password

Hi Someone logged on the system with a Normal user and changed the password , for this user , how can i know ? who changed the password from which terminal ? regards Georges (5 Replies)
Discussion started by: itsgeorge
5 Replies

2. Solaris

Problem in changing password in NIS

Hi, I need help urgently. I've been running NIS for 4 years without problem. And just two weeks ago, all my users are unable to change their password which never happens before. When we issue passwd or yppasswd, this is what we get passwd : Changing password for Jennifer Enter existing... (2 Replies)
Discussion started by: jennifer
2 Replies

3. HP-UX

Changing root password

I have two unix system A and B with same configuration. I can use remsh from A system login to B system as root, but when I want to change the root password of B system, it ask me the old password, but i forgot it. However, is it possible to change the B system root password? :( Thanks a lot (3 Replies)
Discussion started by: zetadhell
3 Replies

4. Solaris

Changing Password in NIS

Friends I want to know whether i can change the password of a user logged in thru NIS from a client machine after stopping the YP services in NIS server. Note - The Slave server is up and running. I tried doing this. But i got the reply "Permission Denied". I stopped the YP services in... (7 Replies)
Discussion started by: efunds
7 Replies

5. Linux

Problem changing user password

Hi all, I'm having an issue resetting an Linux user password. As root, I type 'passwd <username>, enter the new password, but the user is still Access Denied. Can someone assist me in figuring this one out? The box is running "Linux trm62 2.4.21-15.ELsmp #1 SMP Thu Apr 22 00:18:24 EDT 2004... (6 Replies)
Discussion started by: bbbngowc
6 Replies

6. Solaris

Solaris user changing password

i created 1 user . Now its passwd time period get expired. Now how can I set password for that user. Also how can I set a condition such a way that after every 3 months user must change his passwd. (5 Replies)
Discussion started by: ajitkraj
5 Replies

7. IP Networking

Changing Auto negotiating Problem on Solaris

I have a T2000 server running Solaris 10. I want to change the auto negotiaing on the ethernet ce3 to off. but when I try with the comand only ce2 changes. I have tried with but failing. Note: Earlier i was using ce2 but not using ce3 because ce2 failed. Kindly help (1 Reply)
Discussion started by: lottiem
1 Replies

8. Shell Programming and Scripting

password changing

Hi all Im trying to learn the basics of bash and am struggling with some file manipulation. I am trying to run a script that once you have logged in allows you to change your password which is held (along with the corresponding username) in a different file called usernames. When i try to run my... (2 Replies)
Discussion started by: somersetdan
2 Replies

9. Shell Programming and Scripting

Problem with feeding password while changing to root user

i want to change user to "root" from another user while running a script. how can i automatically feed the password? for example, i want to write a script say "script.sh"... it will first run the command "p" as mhmn user, and then it will change the user to "root" by using "su - root" command. at... (1 Reply)
Discussion started by: mhmn
1 Replies

10. AIX

Changing root password

I want to change the root password on an AIX box. What is the best method to do this so i do not get myself locked out. When I do i search the results come up for resetting the password if you are locked out. Thanks (5 Replies)
Discussion started by: fierfek
5 Replies
All times are GMT -4. The time now is 03:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy