Commit | Line | Data |
---|---|---|
805e021f CE |
1 | # Copyright 2000, International Business Machines Corporation and others. |
2 | # All Rights Reserved. | |
3 | # | |
4 | # This software has been released under the terms of the IBM Public | |
5 | # License. For details, see the LICENSE file in the top-level source | |
6 | # directory or online at http://www.openafs.org/dl/license10.html | |
7 | ||
8 | # Sample template for use with the uss, the AFS user account facility. | |
9 | # | |
10 | # | |
11 | # By convention: | |
12 | # $USER = User's login name | |
13 | # $UID = User's uid | |
14 | # $MTPT = User's home dir | |
15 | # $AUTO = Pick the directory with minimum number of entries | |
16 | # $SERVER = User volume's file server | |
17 | # $PART = User volume's file server partition | |
18 | # $NAME = User's real name | |
19 | # $PWEXPIRES = number of days that password is valid | |
20 | # $1 - $9 = Optional, but must correspond to argument | |
21 | # | |
22 | # Format: | |
23 | # | |
24 | # G dir-name-or-path (ref. $AUTO) | |
25 | # V volume-name server partition quota mount-point owner accesslist | |
26 | # D directory mode owner accesslist | |
27 | # F file-path mode owner prototype | |
28 | # E file-path mode owner file-content | |
29 | # S Symbolic-link mode target | |
30 | # L file1 file2 | |
31 | # A username password-lifetime reuse/noreuse failures locktime | |
32 | # X command-string | |
33 | ########################################################### | |
34 | ||
35 | V user.$USER $SERVER $PART 5000 /afs/cellname/usr/smith/$USER $UID $USER all system:anyuser rl | |
36 | ||
37 | # | |
38 | A $USER 254 noreuse 4 45 | |
39 | # | |
40 | D $MTPT/private 0755 $UID $USER all system:anyuser none | |
41 | D $MTPT/public 0755 $UID $USER all system:anyuser rl | |
42 | D $MTPT/bin 0755 $UID $USER all system:anyuser rl | |
43 | # | |
44 | F $MTPT/.cshrc 0644 $UID /afs/cellname/admin/user/proto/ | |
45 | F $MTPT/.login 0644 $UID /afs/cellname/admin/user/proto | |
46 | F $MTPT/.logout 0644 $UID /afs/cellname/admin/user/proto | |
47 | F $MTPT/preferences 0644 $UID /afs/cellname/admin/user/proto | |
48 | # | |
49 | E /afs/.cellname/common/etc/newaccts/passwd_$USER 0644 root "$USER:X:$UID:11:$NAME:$MTPT:/bin/csh" | |
50 | E $MTPT/echoWithSpaces 0644 $UID "This has spaces" | |
51 | X "ls /afs/cellname/usr/smith2" | |
52 | E $MTPT/echoWithNewlines 0644 $UID "This | |
53 | has | |
54 | newlines" |