02-19-2013
Passwd getting locked
Hi, there is a password lock problem happening everyday at one of the servers(GNU RH-Linux;kernel release version 2.6.18-308.20.1.el5) for a particular user id which is an appln user id. Everyday it needs to be reset by the owner/unix user mgmt team. My suspicion was if any cronjob was running using old passwd then the user id/passwd would get locked after 3 unsuccessful attempts. But unable to find any. Don't know how to go further.
Request help and advice in this regard.
Last edited by sam_bd; 02-19-2013 at 04:27 AM..
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a server that is on solaris 9 and openwin is locked. The mouse won't respond and I can't seem to kill the openwin pid on the server.. Is there a command line to kill openwin from the server side? (2 Replies)
Discussion started by: jphorton
2 Replies
2. AIX
good morning
just a confirmation, to lock a password for a user, we must to write 0 for password min age and password max age option ?
thank you (0 Replies)
Discussion started by: pascalbout
0 Replies
3. HP-UX
:confused:
I have an K580 HP server.
All I did was change the IP address on the NIC and now I can't telnet into it.
I can ping, but no telnet.
Also, it won't boot if the console monitor is plugged in.
ANY IDEAS??? (1 Reply)
Discussion started by: ncmurf00
1 Replies
4. Solaris
Hi Gurus,
i have ussers cannot change their passwords, neither can root change the user's password.
O.S. Solaris 8
up−to−date on security patchaes as far as I know.
Examples (names have been changed to protect the guilty):
User logged on:
$ passwd
passwd: Changing password for <user>... (8 Replies)
Discussion started by: raziayub
8 Replies
5. Programming
Hi,
I am working with sun solaris sparc 5.9 and I want to use the serial port in my application..when I am trying to use it.it is throwing the message--
So how can I check the serial port is locked or not and how can I unlock the port??
Thanks in advance. (1 Reply)
Discussion started by: smartgupta
1 Replies
6. UNIX for Advanced & Expert Users
I am running Solaris 10. Occasionally, my id gets loked. I want to know who/which rougue process locked it.
How do I find out?
Thanks,
KNK (9 Replies)
Discussion started by: nkamatam
9 Replies
7. Solaris
Hi Folks,
I have Solaris 10, latest release.
We have passwd aging set in /etc/defalut/passwd.
I have an account that passwd should never expire. Acheived by emptying associated users shadow file entries for passwd aging.
When I reset the users passwd using passwd command, it re enables... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies
8. AIX
Does anyone know when AIX started using /etc/security/passwd instead of /etc/passwd to store encrypted passwords? (1 Reply)
Discussion started by: Anne Neville
1 Replies
9. Solaris
Hi all
In my system we have implemented user lockout feature after 3 failure attempt if he tries to login directly or if he run the any command through sudo and enter wrong password thrice. Now I have requirement in which particular user account shouldn't be locked when he run the command... (1 Reply)
Discussion started by: sb200
1 Replies
LEARN ABOUT REDHAT
fgetpwent
FGETPWENT(3) Linux Programmer's Manual FGETPWENT(3)
NAME
fgetpwent - get password file entry
SYNOPSIS
#include <pwd.h>
#include <stdio.h>
#include <sys/types.h>
struct passwd *fgetpwent(FILE *stream);
DESCRIPTION
The fgetpwent() function returns a pointer to a structure containing the broken out fields of a line in the file stream. The first time it
is called it returns the first entry; thereafter, it returns successive entries. The file stream must have the same format as /etc/passwd.
The passwd structure is defined in <pwd.h> as follows:
struct passwd {
char *pw_name; /* user name */
char *pw_passwd; /* user password */
uid_t pw_uid; /* user id */
gid_t pw_gid; /* group id */
char *pw_gecos; /* real name */
char *pw_dir; /* home directory */
char *pw_shell; /* shell program */
};
RETURN VALUE
The fgetpwent() function returns the passwd structure, or NULL if there are no more entries or an error occurs.
ERRORS
ENOMEM Insufficient memory to allocate passwd structure.
FILES
/etc/passwd
password database file
CONFORMING TO
SVID 3
SEE ALSO
getpwnam(3), getpwuid(3), getpwent(3), setpwent(3), endpwent(3), getpw(3), putpwent(3), passwd(5)
GNU
1996-05-17 FGETPWENT(3)