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
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
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
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
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
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
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
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
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
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(8) System Manager's Manual pwck(8)
NAME
pwck, grpck - Checks the password and group files for inconsistencies
SYNOPSIS
pwck [-admNs] [file]
grpck [-mNp] [file]
FLAGS
Causes both pwck and grpck to additionally check the NIS database entries using the same consistency tests. Users that are defined in the
local password or group file without the "+" at the start of the name field are flagged as duplicate entries.
pwck
Inhibits the running of the /tcb/bin/authck -p command on a system running Enhanced Security. Prevents pwck from checking for the presence
of the user's login directory. Directs pwck to check for mixed case usernames. Causes pwck to check for the presence of the optional
shell field for each entry.
grck
If there are no members, causes grpck to display a message indicating the listed group has no members. Directs grpck to not check for a
users' existence in the password database (local or NIS).
DESCRIPTION
The pwck command scans the /etc/passwd file, or the named file, and writes to standard out any inconsistencies. The scan checks the number
of fields, login name, user ID, group ID, and existence of a login directory and optional program name.
The grpck command scans the /etc/group file, or the named file, and writes to standard out any inconsistencies. The scan checks the number
of fields, group name, group ID, and whether all login names appear in the password file.
EXAMPLES
To verify the password information in the /etc/passwd file for consistency, enter: pwck
To verify the password information in the /etc/passwd file and the NIS database for consistency without checking each users login directory
validity, enter: pwck -Nd
To verify the group information in the /etc/group file and the NIS database for consistency, enter: grpck -N
FILES
Specifies the command path Specifies the command path Contains user information Contains group information
RELATED INFORMATION
Commands: adduser(8), authck(8), groups(1), passwd(1), vipw(8)
Files: passwd(4), group(4), ypfiles(4) delim off
pwck(8)