10-07-2003
Run the command pwck and see if you get any errors displayed.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have started using SunOS 5.6 as an administrator. By mistake I changed the default shell entry for root in /etc/passwd file to /bin/ksh. Since there is no such shell available in the bin directory, I am not able to log on to the system.(This happens even in the console)
The error is - no... (2 Replies)
Discussion started by: pradeepks
2 Replies
2. Forum Support Area for Unregistered Users & Account Problems
Hi Admin/Moderator,
I am unable to login with my user id "chanakyahere", even it is not accepting my mail id to which i got one reply aso.. it is saying that i suppied "mail id that is not recognised".. please look forward regarding this problem.. i joined on last saturday i.e on... (1 Reply)
Discussion started by: Chanakya
1 Replies
3. UNIX for Dummies Questions & Answers
Was OK on AIX5.2. Have installed AIX 5.3 ML02 and now only root can log in. Other users get "You are not allowed to login at this time." Once in as root, it's possible to su or 'su -' to other users. All user parameters are OK. (0 Replies)
Discussion started by: skinthegoat
0 Replies
4. Solaris
Hi,
I am doing Active Directory(Win 2008) and UNIX(Solaris 10) integration.
I was unable to create home directory for the Active Directory users on the first login.
So i added
other session required pam_mkhomedir.so skel=/etc/skel umask=0022
to pam.conf in /etc/pam.conf. But now I am... (2 Replies)
Discussion started by: sathya47
2 Replies
5. Post Here to Contact Site Administrators and Moderators
i can login from the site no problem.
but from tapatalk it always tells me if my password is wrong.
i've tried on the site few times no problem.
only problem via tapatalk.
is this a problem for droidX...
or am i missing something.
help pls.
thanks much. (2 Replies)
Discussion started by: unregistered110
2 Replies
6. Solaris
I have inherited a solaris 10 server. I went to log into it the other day over the console connection, and after sucessfully entering the password, I was booted back to the login prompt with no errors visible.
If I enter an incorect password, the console displays 'incorrect password' and kicks... (8 Replies)
Discussion started by: Sol-nova
8 Replies
7. Forum Support Area for Unregistered Users & Account Problems
Hi,
It has been a while since I logged into Unix.com and I have forgotten my userID and password. Please help.
Thanks,
Ananth. (1 Reply)
Discussion started by: Unregistered
1 Replies
8. Red Hat
Hello,
Sorry for posting here..i know there is another section for Urgent...However, i could not locate it...
Issue: ) After patching rhel 5.8 with couple of patches. When user is trying to login via putty . They get login promt and when they type their username, screen get freezed kindaa... (3 Replies)
Discussion started by: saurabh84g
3 Replies
9. How to Post in the The UNIX and Linux Forums
Hello,
Is there a way to display all of the posts I have authored?
Many thanks in advance. (2 Replies)
Discussion started by: Anamika08
2 Replies
10. Solaris
Hi
Please I need help on trying to login on a solaris 10, blade server.
login as: root
Using keyboard-interactive authentication.
Password:
I even try a normal user, I do not get the prompt.
I suspect the reason could be that /varis at 98% because I have configure email alerts to warn me... (9 Replies)
Discussion started by: fretagi
9 Replies
pwck(1M) System Administration Commands pwck(1M)
NAME
pwck, grpck - password/group file checkers
SYNOPSIS
/usr/sbin/pwck [filename]
/usr/sbin/grpck [filename]
DESCRIPTION
pwck scans the password file and notes any inconsistencies. The checks include validation of the number of fields, login name, user ID,
group ID, and whether the login directory and the program-to-use-as-shell exist. The default password file is /etc/passwd.
grpck verifies all entries in the group file. This verification includes a check of the number of fields, group name, group ID, whether any
login names belong to more than NGROUPS_MAX groups, and that all login names appear in the password file. The default group file is
/etc/group.
All messages regarding inconsistent entries are placed on the stderr stream.
FILES
/etc/group
/etc/passwd
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
getpwent(3C), group(4), passwd(4), attributes(5)
DIAGNOSTICS
Group entries in /etc/group with no login names are flagged.
Group file 'filename' is empty
The /etc/passwd or /etc/group file is an empty file.
cannot open file filename: No such file or directory
The /etc/passwd or /etc/group file does not exist.
NOTES
If no filename argument is given, grpck checks the local group file, /etc/group, and also makes sure that all login names encountered in
the checked group file are known to the system getpwent(3C) routine. This means that the login names may be supplied by a network name
service.
SunOS 5.10 20 Oct 2002 pwck(1M)