08-12-2015
What files do not contain user data?
I went to a job interview, and one of the questions that were put to me was "What files do not contain user data?", and response options were:
1. /etc/passwd
2. /etc/pasword
3. /etc/group
4. /etc/shadow
5. /etc/gshadow
I chose "2. /etc/password" and I think that is correct or not?
Thanks!
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi all,
I am using Sun Solaris 9 .In this system normal users unable to create files from the command line.I added these users in bin,adm and even root group i found them unable to create a file. (1 Reply)
Discussion started by: mallesh
1 Replies
2. Shell Programming and Scripting
if my user has to enter the name of months to carry out a search how can I limit the input values to only the month names and nothing else?
so far my input criteria for the user is this:
i would like it so the user can only enter the months in the way i have stated. otherwise they would... (11 Replies)
Discussion started by: amatuer_lee_3
11 Replies
3. UNIX for Dummies Questions & Answers
Hi,
i have a report which I basically need to format before i email it to the User.
it comrises of data in below format currently
YOMP_CSC_ASSESS_SCY062 cancelled
SOMO_Ckswed_ACEAMT_PC3 completed
SOMO_sdasf_TAX_ASSET completed
SOMP_CSC_ndksljfh_SCY060 cancelled
I need it in the below... (2 Replies)
Discussion started by: rohit.shetty84
2 Replies
4. Shell Programming and Scripting
Dear other forum members,
I'm writing a script for my homework, but I'm scratching all over my head and still can't figure out what I did wrong. Please help me. I just started to learn about bash scripting, and I appreciate if anyone of you can point out my errors. I thank you in advance.
... (3 Replies)
Discussion started by: ilove2smoke
3 Replies
5. Shell Programming and Scripting
Hi,
Could someone please assist on a quick way of How to extract data from indexed files (ISAM files) maintained in an UNIX(AIX) server.The file data needs to be extracted in flat text file or CSV or excel format .
Usually we have programs in microfocus COBOL to extract data, but would like... (2 Replies)
Discussion started by: devina
2 Replies
6. AIX
Hi all,
I ran errpt -a .
I got the following errors , what they could be ? any ideas would be appreciated.
---------------------------------------------------------------------------
LABEL: J2_USERDATA_EIO
IDENTIFIER: EA88F829
Date/Time: Sun Feb 12 16:08:03 USAST 2012... (3 Replies)
Discussion started by: h@foorsa.biz
3 Replies
7. Shell Programming and Scripting
Dear all,
I have a complex data file shown below,,,,,
A_ABCD_13208 0 0 4.16735 141044 902449 1293900 168919
C_ABCD_13208 0 0 4.16735 141044 902449 1293900 168919
A_ABCDEF715 52410.9 18598.2 10611 10754.7 122535 252426 36631.4
C_DBCDI_1353 0... (19 Replies)
Discussion started by: AAWT
19 Replies
8. Shell Programming and Scripting
File 1
ID Name Po1 Po2
DD134 DD134_4A_1 NN-1 L_0_1
DD134 DD134_4B_1 NN-2 L_1_1
DD134 DD134_4C_1 NN-3 L_2_1
DD142 DD142_4A_1 NN-1 L_0_1
DD142 DD142_4B_1 NN-2 L_1_1
DD142 DD142_4C_1 NN-3 L_2_1
DD142 DD142_3A_1 NN-41 L_3_1
DD142 DD142_3A_1 NN-42 L_3_2
File 2 ( Combination of... (1 Reply)
Discussion started by: pareshkp
1 Replies
9. Homework & Coursework Questions
Post deleted (1 Reply)
Discussion started by: mescu
1 Replies
10. Shell Programming and Scripting
We have the data looks like below in a log file.
I want to generat files based on the string between two hash(#) symbol like below
Source:
#ext1#test1.tale2 drop
#ext1#test11.tale21 drop
#ext1#test123.tale21 drop
#ext2#test1.tale21 drop
#ext2#test12.tale21 drop
#ext3#test11.tale21 drop... (5 Replies)
Discussion started by: Sanjeev G
5 Replies
VIPW(8) System Management Commands VIPW(8)
NAME
vipw, vigr - edit the password, group, shadow-password or shadow-group file
SYNOPSIS
vipw [options]
vigr [options]
DESCRIPTION
The vipw and vigr commands edits the files /etc/passwd and /etc/group, respectively. With the -s flag, they will edit the shadow versions
of those files, /etc/shadow and /etc/gshadow, respectively. The programs will set the appropriate locks to prevent file corruption. When
looking for an editor, the programs will first try the environment variable $VISUAL, then the environment variable $EDITOR, and finally the
default editor, vi(1).
OPTIONS
The options which apply to the vipw and vigr commands are:
-g, --group
Edit group database.
-h, --help
Display help message and exit.
-p, --passwd
Edit passwd database.
-q, --quiet
Quiet mode.
-R, --root CHROOT_DIR
Apply changes in the CHROOT_DIR directory and use the configuration files from the CHROOT_DIR directory.
-s, --shadow
Edit shadow or gshadow database.
ENVIRONMENT
VISUAL
Editor to be used.
EDITOR
Editor to be used if VISUAL is not set.
FILES
/etc/group
Group account information.
/etc/gshadow
Secure group account information.
/etc/passwd
User account information.
/etc/shadow
Secure user account information.
SEE ALSO
vi(1), group(5), gshadow(5) , passwd(5), , shadow(5).
shadow-utils 4.1.5.1 05/25/2012 VIPW(8)