Sean Hincheeinitial push75d07b48 years agoHistory
334 lines · 4.1 KB · HTML
RawDownload
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><head>	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />	<meta name="keywords" content="9p, 9p2000, research, Plan 9, Inferno, Unix, Open Source, Bell Labs" />	<meta name="description" content="Open source distributed operating system Plan 9 from Bell Labs." />	<link rel="stylesheet" href="/wiki-style.css" media="all" type="text/css" />	<title>Adding A New User (Diff)</title></head><body><h1><a name="top"></a>Adding A New User <i>-Diff-</i></h1> <div class='body'> <!-- ***************************** --> <hr /><div class='diff_head'><a href="index.html">Sat Feb 23 01:39:39 EST 2013</a>, mycroftiv</div><hr />Creatinganewusertypicallyrequiresthreesteps:<ul> <li>Createtheuseronthefileserver</li> <li>Createtheuserontheauthenticationserver(notrequiredforstandaloneterminals)</li> <li>Whentheuserlogsinthefirsttime,heshouldexecute/sys/lib/newuser</li></ul> <a name="FILE_SERVER" /><h3>FILE SERVER</h3> <p class='para'>Tocreateanewuser,firstcreatetheuseronthefileserver.Whenrunning<a href="http://plan9.bell-labs.com/magic/man2html/4/fossil"><i>fossil</i>(4)</a>,youcanuse</p> <pre>con -l /srv/fscons</pre> <p class='para'>toconnecttothefileserverconsole.Todisconnect,typectl-\andthentypeqatthe&gt;&gt;&gt;prompt.Typeentertoseeaprompt.</p> <p class='para'><a href="http://plan9.bell-labs.com/magic/man2html/8/Fossilcons"><i>Fossilcons</i>(8)</a>describesthefossilconsolecommandsindetail.Tocreateanewuserrun(replacing&lt;user&gt;withthedesiredusername):</p> <pre>uname &lt;user&gt; &lt;user&gt;</pre> <p class='para'>Toallowtheusertomakechangestothesystem(configuration)files,whicharewritablebygroupsys,addtheusertosys:</p> <pre>uname sys +&lt;user&gt;</pre> <p class='para'>Andsimilarlyifdesiredforthefilesin/adm:</p> <pre>uname adm +&lt;user&gt;</pre> <p class='para'>Ifyouareusingthe(old)WORM-basedfileserver,theequivalentcommandsare</p> <pre>newuser &lt;user&gt;newuser sys +&lt;user&gt;</pre> <p class='para'>See<a href="http://plan9.bell-labs.com/magic/man2html/8/fs"><i>fs</i>(8)</a>fordetails.</p> <a name="AUTH_SERVER" /><h3>AUTH SERVER</h3> <p class='para'>IfyouarerunningaPlan9authserver,youwillalsoneedtocreateanaccountontheauthenticationserver,usingauth/changeuser(see<a href="http://plan9.bell-labs.com/magic/man2html/8/auth"><i>auth</i>(8)</a>).Thisstepisnotrequiredforastandalonemachine.</p> <a name="SETUP" /><h3>SETUP</h3> <p class='para'>Whentheuserlogsinforthefirsttime,heorsheshouldrun/sys/lib/newusertocreateaminimalPlan9homedirectory.</p> <a name="SEE_ALSO" /><h3>SEE ALSO</h3> <p class='para'><a href="http://plan9.bell-labs.com/magic/man2html/4/fossil"><i>fossil</i>(4)</a>,<a href="http://plan9.bell-labs.com/magic/man2html/6/users"><i>users</i>(6)</a>,<a href="http://plan9.bell-labs.com/magic/man2html/8/fossilcons"><i>fossilcons</i>(8)</a>,<a href="http://plan9.bell-labs.com/magic/man2html/8/newuser"><i>newuser</i>(8)</a>,<a href="http://plan9.bell-labs.com/magic/man2html/8/auth"><i>auth</i>(8)</a></p><hr> </div> <!-- ***************************** --> <hr class='banner_sep' /> <div class='banner'><ul>	<li><a href="../plan_9_wiki/">Wiki</a></li>	<li><a href="../Documentation/">Docs</a></li>	<li><a href="../news/">News</a></li>	<li><a href="../development/">Devel</a></li>	<li><a href="../papers/">Papers</a></li>	<li><a href="../download/">Download</a></li> </ul></div> <hr class='footer_sep' /> <div class='footer'>	<a href="./">Current Page</a> - 	<span class='last_mod'>Last modified Sat Feb 23 01:39:39 EST 2013</span>	<br />	<div class='about_wiki'><a href="http://plan9.bell-labs.com/plan9"><img align="middle" src="http://plan9.bell-labs.com/plan9/img/power36.gif" alt="Powered by Plan 9" /></a>	<a href="../about.html">About this Wiki</a>	</div>  </div> </body></html>