pwck report


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users pwck report
# 1  
Old 07-17-2007
pwck report

Hi,
I didin't know where to post this, so I decided, hereSmilie
The thing is, I have to put things in order on some Tru64 machines. Now, pwck gives me reports like this:

username not listed in /etc/passwd, but is in Protected Password database,

and quite a few of them. And when I look in passwd protected db file /tcb/files/auth.db and try to find those username entries, I don't find anything.
Any ideas how to make passwd file and passwd protected database file consistent, so I don't get messages like those above?

Tnx in advance!
# 2  
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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 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

7. 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

8. 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

9. 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
Login or Register to Ask a Question