Sponsored Content
Full Discussion: pwck report
Top Forums UNIX for Advanced & Expert Users pwck report Post 302128332 by veccinho on Tuesday 24th of July 2007 06:58:13 AM
Old 07-24-2007
If someone wants to know, I fond a solution.
A guy who managed users before me, used to following command for deletion:
edauth -r login
This command removed user from passwd file, but left his entry in auth.db.
Command:
edauth -dp -r login corrects the problem.
-dp switch looks and finds entry for given login and removes it from password protected database as well.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Usage Report

Hey Guys I need help quick! Our regular SYSOP is ill and I've been assigned the job of creating a usage report. I've got to figure out who has logged on in the last month and how long they were logged on. (4 Replies)
Discussion started by: larryprg
4 Replies

2. Shell Programming and Scripting

help to print report

As I'm a newbie to UNIX, very newbie in fact, could anyone help me to write shell script . I need to generate fail logs for my testsuite . I have to print total no of fails sort by product ,host and version of software. The product name is stored in different file. The fails are stored in... (0 Replies)
Discussion started by: dolly83
0 Replies

3. Shell Programming and Scripting

unix report

hello i just want to ask one question i am willing to create health check of my disk in unix. like a script should automatically run and genrate output in unix in beautiful report format. so is there is any way to create a beautiful report in unix like heading should be bold and big in font and... (2 Replies)
Discussion started by: shary
2 Replies

4. UNIX for Advanced & Expert Users

ps report (on tru64)

hi, i have 10 processes running on a tru64 machine with 16 cpu. when i am checking the states of these processes with ps command, i saw that almost never more than 3 of them are in the R(unning) state. (generally they are in the S(leeping) state). although there are many other processes... (3 Replies)
Discussion started by: yakari
3 Replies

5. UNIX Desktop Questions & Answers

Information for Report

As part of my A+ certification class I was asked to create a webpage on operating systems other than windows, in specific Linux, Mac, and Unix. I got Linux and Mac done but I am having trouble finding specific information on Unix. I keep being directed to Linux or Mac. Can anyone help. In specific... (1 Reply)
Discussion started by: Shinjin
1 Replies

6. UNIX for Dummies Questions & Answers

Netbackup Report

Would I be able to get the report (text format) of an activity monitor view of a netbackup via command line? I am trying to make a script out of it that would be run daily an be saved in a txt document which would could be viewed for history purpose. I need minimal details only like policy name,... (0 Replies)
Discussion started by: ryan_estiya
0 Replies

7. UNIX for Dummies Questions & Answers

report duplicate

Hi i have a file with one column and want to report the value that has duplicate like rag rag hi hi hi 123 456 output should be rag hi thank you (6 Replies)
Discussion started by: thonlun
6 Replies

8. Shell Programming and Scripting

Report printing

Hi. i am trying to print the contents of my text file with delimiter : separating them. 6:15:ABC ABD:ABB ABE: 2:20:AEE ABH:ACC AAA: i have completed my header for the report but i am having problem with my contents. i am trying to read in the data with the code below. { while read... (10 Replies)
Discussion started by: One_2_three
10 Replies

9. Shell Programming and Scripting

Need help for creating the report

Hi, I have a file that contains below information: provider APESD APESD Annual Turn $67000 Provider XXXX Annual Turn $92000 Provider FERHG FERHG Annual Turn $56700 Provider ABXX Annual Turn $99000 These are just sample rows out of some 5000. I want to create a tabular report as... (5 Replies)
Discussion started by: juzz4fun
5 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)
All times are GMT -4. The time now is 01:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy