3 uss bulk - Executes multiple uss commands listed in a file
7 B<uss bulk -file> <I<bulk input file>> [-template <I<pathname of template file>>]
8 [B<-verbose>] [B<-cell> <I<cell name>>]
9 [B<-admin> <I<administrator to authenticate>>] [-dryrun]
10 [B<-skipauth>] [-overwrite]
11 [-pwexpires <I<password expires in [0..254] days (0 => never)>>]
14 B<uss b -f> <I<bulk input file>> [B<-t> <I<pathname of template file>>] [-v]
15 [B<-c> <I<cell name>>] [B<-a> <I<administrator to authenticate>>] [B<-d>] [B<-s>]
16 [B<-o>] [-pw <I<password expires in [0..254] days (0 => never)>>]
21 The B<uss bulk> command executes the uss commands listed
22 in the B<bulk input file> specified with the B<-file>
23 argument. If the bulk input file includes B<add> instructions
24 that reference a template file, then the B<-template> argument is
27 To create a single account, use the uss add command. To
28 delete one or more accounts, use the B<uss delete> command.
36 Specifies the pathname of the bulk input file. Partial pathnames
37 are interpreted relative to the current working directory. For details
38 on the file's format, see L<uss Bulk Input File(1)>.
42 Specifies the pathname of the template file for any uss add
43 commands that appear in the bulk input file. Partial pathnames are
44 interpreted relative to the current working directory. For details on
45 the file's format, see L<uss Template File(1)>.
49 Produces on the standard output stream a detailed trace of the
50 command's execution. If this argument is omitted, only warnings
51 and error messages appear.
55 Specifies the cell in which to run the command. For more details,
56 see the introductory B<uss> reference page.
60 Specifies the AFS user name under which to establish authenticated
61 connections to the AFS server processes that maintain the various components
62 of a user account. For more details, see the introductory
63 B<uss> reference page.
67 Reports actions that the command interpreter needs to perform while
68 executing the command, without actually performing them. For more
69 details, see the introductory B<uss> reference page.
73 Prevents authentication with the AFS Authentication Server, allowing a
74 site using Kerberos to substitute that form of authentication.
78 Overwrites any directories, files and links that exist in the file system
79 and for which there are also B<D>, B<E>, B<F>,
80 B<L>, or B<S> instructions in a template file referenced by an
81 B<add> instruction in the bulk input file. If this flag is
82 omitted, the command interpreter prompts, once for each B<add>
83 instruction in the bulk input file, for confirmation that it should overwrite
84 such elements. Do not include this flag if the bulk input file does not
85 contain B<add> instructions.
89 Sets the number of days after a user's password is changed that it
90 remains valid, for each user named by an B<add> instruction in the
91 bulk input file. Provide an integer from the range B<1> through
92 B<254> to specify the number of days until expiration, or the value
93 B<0> to indicate that the password never expires (the default).
95 When the password becomes invalid (expires), the user is unable to
96 authenticate, but has 30 more days in which to issue the B<kpasswd>
97 command to change the password (after that, only an administrator can change
102 Suppresses the Authentication Server's prompt for the password of the
103 issuer or the user named by the B<-admin> argument (the Authentication
104 Server always separately authenticates the creator of an entry in the
105 Authentication Database). Instead, the command interpreter accepts the
106 password via the standard input stream, as piped in from another
107 program. This enables the B<uss bulk> command to run as part of
108 unattended batch jobs.
112 Prints the online help for this command. All other valid options
119 The following example command executes the instructions in the bulk input
120 file called B<new_students>, which includes B<add>
121 instructions that refer to the template file
122 B<student.template>. Both files reside in the current
125 % uss bulk new_students student.template
127 =head1 PRIVILEGE REQUIRED
129 The issuer (or the user named by the -admin argument) must have
130 the privileges necessary to run the commands that correspond to instructions
131 in the bulk input file.
135 L<uss Bulk Input File(1)>
137 L<uss Template File(1)>
145 IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
147 This documentation is covered by the IBM Public License Version 1.0. It was
148 converted from HTML to POD by software written by Chas Williams and Russ
149 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.