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
16 Next, give the user a password using
18 on the console of the authentication server (see
20 At this point, the user can bootstrap a terminal using the new name and
22 The terminal will only get as far as running
32 sets up a sensible environment for a new user of Plan 9.
33 Once the terminal is running
41 to build the necessary directories in
44 .BR /mail/box/$user/mbox ,
45 .BR /cron/$user/cron ,
46 a reasonable initial profile in
47 .BR /usr/$user/lib/profile
50 .BR /usr/$user/lib/plumbing
53 The script then runs the profile which, as its last step, brings up
55 At this point the user's environment is established and running.
56 (There is no need to reboot.)
57 It may be prudent at this point to run
59 to change the password, depending on how the initial password was chosen.
68 bind -a $home/bin/rc /bin
69 bind -a $home/bin/$cputype /bin
71 font = /lib/font/bit/pelm/euro.9.font
76 echo -n accelerated > '#m/mousectl'
77 echo -n 'res 3' > '#m/mousectl'
82 if (test -e /mnt/term/mnt/wsys) {
84 wsys = /mnt/term^`{cat /mnt/term/env/wsys}
85 bind -a /mnt/term/mnt/wsys /dev
86 echo -n $sysname > /dev/label
88 bind /mnt/term/dev/cons /dev/cons
89 bind /mnt/term/dev/consctl /dev/consctl
90 bind -a /mnt/term/dev /dev
95 if (! test -e /mnt/term/mnt/wsys) {
96 # cpu call from drawterm
97 font=/lib/font/bit/pelm/latin1.8.font
108 Sites may make changes to
110 that reflect the properties of the local environment.