Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

cpgr(8) [linux man page]

CPPW(8) 						      System Manager's Manual							   CPPW(8)

NAME
cppw, cpgr - copy with locking the given file to the password or group file SYNOPSIS
cppw [-h] [-s] password_file cpgr [-h] [-s] group_file DESCRIPTION
cppw and cpgr will copy, with locking, the given file to /etc/passwd and /etc/group, respectively. With the -s flag, they will copy the shadow versions of those files, /etc/shadow and /etc/gshadow, respectively. With the -h flag, the commands display a short help message and exit silently. SEE ALSO
vipw(8), vigr(8), group(5), passwd(5), shadow(5), gshadow(5) AUTHOR
cppw and cpgr were written by Stephen Frost, based on vipw and vigr written by Guy Maor. 7 Apr 2005 CPPW(8)

Check Out this Related Man Page

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)
Man Page

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Output from sql session having an extra whitespace

I am running a sql session within a shell script. Later I am performing some validations on the value coming from the sql session. The problem is that, the value I am getting from sql session have an extra white space at the begining(I am actually, assigning the outcome of the sql session to a... (5 Replies)
Discussion started by: mady135
5 Replies

2. Shell Programming and Scripting

Formatting issue

I am running this query in a SQL session : info_dtls=`sqlplus -s / <<eof whenever sqlerror exit 1 set feedback off; set verify off; set echo off; set heading off; select trim(a.cont_title)||'","'||trim(b.cpgrp_desc)|| '","'||trim(to_char(to_date('20100930','yyyymmdd'),'MM/DD/YYYY'))||... (1 Reply)
Discussion started by: mady135
1 Replies

3. IP Networking

Help with iptables

photo... (1 Reply)
Discussion started by: beerpong1
1 Replies

4. Shell Programming and Scripting

Shorten header of protein sequences in fasta file to only organism name

I have a fasta file as follows >sp|Q8WWQ8|STAB2_HUMAN Stabilin-2 OS=Homo sapiens OX=9606 GN=STAB2 PE=1 SV=3 MMLQHLVIFCLGLVVQNFCSPAETTGQARRCDRKSLLTIRTECRSCALNLGVKCPDGYTM ITSGSVGVRDCRYTFEVRTYSLSLPGCRHICRKDYLQPRCCPGRWGPDCIECPGGAGSPC NGRGSCAEGMEGNGTCSCQEGFGGTACETCADDNLFGPSCSSVCNCVHGVCNSGLDGDGT... (3 Replies)
Discussion started by: jerrild
3 Replies