12-08-2006
yes, you forgot to create/set home directory for the oracle user.
You can edit the appropriate field in /etc/passwd to correct this.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is it possible to dynamically allocate a new user group to an existing session on Solaris 5.8
I'd like to be able to allow certain users to access a set of scripts for the life of session (preferably there own session not a specific login created for the purpose) by dynamically giving the session... (0 Replies)
Discussion started by: hammer
0 Replies
2. UNIX for Dummies Questions & Answers
How do I add a user to a group? And how do I determine the list of groups to add a user?
Solaris 10 newbie (1 Reply)
Discussion started by: peteythapitbull
1 Replies
3. UNIX for Dummies Questions & Answers
Hi I have a user zak and
4 groups:-
oracle
stats
data
archive
I want user zak to be part of the oracle and stats group but not be able to view,list anything in data and archive. Also anyone in the data and archive group should not be able to view,list anything in oracle and stats....... (3 Replies)
Discussion started by: Zak
3 Replies
4. Solaris
Hi.........
I'm trying to set a group of users to login to do a required super-user tasks without knowing the super-user passwd.
For example...a user popodude logs in as self with passwd..system accepts the password & then automatically asks for the super-user account passwd.
My goal is... (1 Reply)
Discussion started by: Remi
1 Replies
5. AIX
1 - what is the maximum no: of groups a user can be a part of ?
2 - what is maximum no: of users a group can contain ? (6 Replies)
Discussion started by: senmak
6 Replies
6. Shell Programming and Scripting
For each value in file1 it has to check in file2 and file3.
If value matched it has to delete that value and related group value
in file2 and file3.
In this example it takes A , deletes A and take related group value 1 and
deletes E-1,then checks in file3 and deletes K-1.After that it takes D... (7 Replies)
Discussion started by: kanagaraj
7 Replies
7. UNIX for Dummies Questions & Answers
I know uniq exists, but am not sure how to remove repeating lines when they are groups of two different lines repeating themselves, without using sort. I need them to be sorted in the original order, just to remove repeats.
cd /media/AUDIO/WAVE/9780743518673/mp3
~/Desktop/mp3-to-m4b... (1 Reply)
Discussion started by: glev2005
1 Replies
8. AIX
Is there a command to nest a group in another group in AIX. (2 Replies)
Discussion started by: daveisme
2 Replies
9. UNIX for Advanced & Expert Users
Hi all,
I want to list out users from different group and root, who are roaming in our group or root as a user.
how can i list out this users ? (1 Reply)
Discussion started by: kpatel97
1 Replies
10. HP-UX
Hi,
I need to modify the user 'munfai' by adding it into groups bscs, oinstall, dba.
I use this command as user root to add the user into the mentioned groups :
# usermod -G bscs,oinstall,dba munfai
I can thereafter see the id in the groups :
# id munfai
uid=258(munfai) gid=20(users)... (2 Replies)
Discussion started by: anaigini45
2 Replies
PWCK(1) General Commands Manual PWCK(1)
NAME
pwck - verify integrity of password files
SYNOPSIS
pwck [-sr] [passwd shadow]
DESCRIPTION
pwck verifies the integrity of the system authentication information. All entries in the /etc/passwd and /etc/shadow are checked to see
that the entry has the proper format and valid data in each field. The user is prompted to delete entries that are improperly formatted or
which have other incorrectable errors.
Checks are made to verify that each entry has
- the correct number of fields
- a unique user name
- a valid user and group identifier
- a valid primary group
- a valid home directory
- a valid login shell
The checks for correct number of fields and unique user name are fatal. If the entry has the wrong number of fields, the user will be
prompted to delete the entire line. If the user does not answer affirmatively, all further checks are bypassed. An entry with a dupli-
cated user name is prompted for deletion, but the remaining checks will still be made. All other errors are warning and the user is
encouraged to run the usermod command to correct the error.
The commands which operate on the /etc/passwd file are not able to alter corrupted or duplicated entries. pwck should be used in those
circumstances to remove the offending entry.
OPTIONS
By default, pwck operates on the files /etc/passwd and /etc/shadow. The user may select alternate files with the passwd and shadow parame-
ters. Additionally, the user may execute the command in read-only mode by specifying the -r flag. This causes all questions regarding
changes to be answered no without user intervention. pwck can also sort entries in /etc/passwd and /etc/shadow by UID. To run it in sort
mode pass it -s flag. No checks are performed then, it just sorts.
FILES
/etc/passwd - user account information
/etc/shadow - encrypted password information
/etc/group - group information
SEE ALSO
group(5), passwd(5), shadow(5), usermod(8)
DIAGNOSTICS
The pwck command exits with the following values:
0 Success
1 Syntax Error
2 One or more bad password entries
3 Cannot open password files
4 Cannot lock password files
5 Cannot update password files
AUTHOR
Julianne Frances Haugh (jockgrrl@ix.netcom.com)
PWCK(1)