3 newuser \- adding a new user
7 To establish a new user on Plan 9, add the user to
11 command on the console of the file server
14 Next, give the user a password using
16 on the console of the authentication server (see
18 At this point, the user can bootstrap a terminal using the new name and
20 The terminal will only get as far as running
30 sets up a sensible environment for a new user of Plan 9.
31 Once the terminal is running
39 to build the necessary directories in
42 .BR /mail/box/$user/mbox ,
43 .BR /cron/$user/cron ,
44 a reasonable initial profile in
45 .BR /usr/$user/lib/profile
48 .BR /usr/$user/lib/plumbing
51 The script then runs the profile which, as its last step, brings up
53 At this point the user's environment is established and running.
54 (There is no need to reboot.)
55 It may be prudent at this point to run
57 to change the password, depending on how the initial password was chosen.
66 bind -a $home/bin/rc /bin
67 bind -a $home/bin/$cputype /bin
69 font = /lib/font/bit/pelm/euro.9.font
74 echo -n accelerated > '#m/mousectl'
75 echo -n 'res 3' > '#m/mousectl'
80 if (test -e /mnt/term/mnt/wsys) {
82 wsys = /mnt/term^`{cat /mnt/term/env/wsys}
83 bind -a /mnt/term/mnt/wsys /dev
84 echo -n $sysname > /dev/label
86 bind /mnt/term/dev/cons /dev/cons
87 bind /mnt/term/dev/consctl /dev/consctl
88 bind -a /mnt/term/dev /dev
93 if (! test -e /mnt/term/mnt/wsys) {
94 # cpu call from drawterm
95 font=/lib/font/bit/pelm/latin1.8.font
106 Sites may make changes to
108 that reflect the properties of the local environment.