<html><head><title>Adding A New User (Editing Sat Feb 23 01:39:39 EST 2013 version)</title><META http-equiv="Content-Type" content="text/html; charset=utf-8"></head><!-- FFFFE9 is acme yellow; FFFFE9 is as close as you can get to it before charon decides to use grey instead of map entry 254 --><body bgcolor="#FFFFE9" link="#0000AA" alink="#0000AA" vlink="#0000AA"><center><font size=+2><b>Adding A New User</b></font> (Editing Sat Feb 23 01:39:39 EST 2013 version)</center><p>For information on editing, see thedescription of <a href="../0">Plan 9 wiki syntax</a>.<p><form action="/magic/wikipost" method="post"><table><tr><td valign=top><input type="submit" name="x" value="Put"></td><td><table><tr><td align=right>(optional) Comment:</td><td><input type="text" name="comment" value="" cols=40></td></tr><tr><td align=right>(optional) Email:</td><td><input type="text" name="author" value="" cols=40></td></tr></table><input type="hidden" name="title" value="Adding A New User"><input type="hidden" name="version" value="1361601579"><input type="hidden" name="service" value="plan9"><input type="hidden" name="base" value="/wiki/plan9"><p><textarea name="text" wrap="virtual" cols="80" rows="25">Creating a new user typically requires three steps: * Create the user on the file server * Create the user on the authentication server(not required for standalone terminals) * When the user logs in the first time, he should execute /sys/lib/newuserFILE SERVERTo create a new user, first create the user on the file server. Whenrunning fossil(4), you can use! con -l /srv/fsconsto connect to the file server console. To disconnect, type ctl-\ andthen type q at the >>> prompt. Type enter to see a prompt.Fossilcons(8) describes the fossil console commands in detail. Tocreate a new user run(replacing <user> with the desired user name):! uname <user> <user>To allow the user to make changes to the system (configuration)files, which are writable by group sys, add the user to sys:! uname sys +<user>And similarly if desired for the files in /adm:! uname adm +<user>If you are using the (old) WORM-based file server, the equivalentcommands are! newuser <user>! newuser sys +<user>See fs(8) for details.AUTH SERVERIf you are running a Plan 9 auth server, you will also need to createan account on the authentication server, using auth/changeuser (seeauth(8)). This step is not required for a standalone machine.SETUPWhen the user logs in for the first time, he or she should run/sys/lib/newuser to create a minimal Plan 9 home directory.SEE ALSOfossil(4), users(6), fossilcons(8), newuser(8), auth(8)</textarea><p></td></table></form><hr><table width=100%><tr><td valign=center align=left></td><td valign=center align=right><a href="../about.html">About the server</a>| <a href="http://plan9.bell-labs.com/plan9"><img src="http://plan9.bell-labs.com/plan9/img/power36.gif"alt="Powered by Plan 9"></a></td></tr></table></html></body>
<html>
<head>
<title>Adding A New User (Editing Sat Feb 23 01:39:39 EST 2013 version)</title>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<!-- FFFFE9 is acme yellow; FFFFE9 is as close as
you can get to it before charon decides to use
grey instead of map entry 254 -->
<body bgcolor="#FFFFE9" link="#0000AA" alink="#0000AA" vlink="#0000AA">
<center>
<font size=+2><b>Adding A New User</b></font> (Editing Sat Feb 23 01:39:39 EST 2013 version)
</center>
<p>
For information on editing, see the
description of
<a href="../0">Plan 9 wiki syntax</a>.
<p>
<form action="/magic/wikipost" method="post">
<table><tr><td valign=top>
<input type="submit" name="x" value="Put"></td><td>
<table>
<tr><td align=right>(optional) Comment:</td><td><input type="text" name="comment" value="" cols=40></td></tr>
<tr><td align=right>(optional) Email:</td><td><input type="text" name="author" value="" cols=40></td></tr>
</table>
<input type="hidden" name="title" value="Adding A New User">
<input type="hidden" name="version" value="1361601579">
<input type="hidden" name="service" value="plan9">
<input type="hidden" name="base" value="/wiki/plan9">
<p>
<textarea name="text" wrap="virtual" cols="80" rows="25">
Creating a new user typically requires three steps:
* Create the user on the file server
* Create the user on the authentication server(not required for
standalone terminals)
* When the user logs in the first time, he should execute
/sys/lib/newuser
FILE SERVER
To create a new user, first create the user on the file server. When
running fossil(4), you can use
! con -l /srv/fscons
to connect to the file server console. To disconnect, type ctl-\ and
then type q at the >>> prompt. Type enter to see a prompt.
Fossilcons(8) describes the fossil console commands in detail. To
create a new user run(replacing <user> with the desired user name):
! uname <user> <user>
To allow the user to make changes to the system (configuration)
files, which are writable by group sys, add the user to sys:
! uname sys +<user>
And similarly if desired for the files in /adm:
! uname adm +<user>
If you are using the (old) WORM-based file server, the equivalent
commands are
! newuser <user>
! newuser sys +<user>
See fs(8) for details.
AUTH SERVER
If you are running a Plan 9 auth server, you will also need to create
an account on the authentication server, using auth/changeuser (see
auth(8)). This step is not required for a standalone machine.
SETUP
When the user logs in for the first time, he or she should run
/sys/lib/newuser to create a minimal Plan 9 home directory.
SEE ALSO
fossil(4), users(6), fossilcons(8), newuser(8), auth(8)
</textarea><p>
</td>
</table>
</form>
<hr>
<table width=100%><tr>
<td valign=center align=left>
</td><td valign=center align=right>
<a href="../about.html">About the server</a>
|
<a href="http://plan9.bell-labs.com/plan9"
><img src="http://plan9.bell-labs.com/plan9/img/power36.gif"
alt="Powered by Plan 9"></a>
</td>
</tr></table>
</html>
</body>