Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
playground:vps_-_9front_hjfs.cmd [2021/09/03 17:33] – [Adding a User] hc9 | playground:vps_-_9front_hjfs.cmd [2022/01/19 18:25] – [A wiki 9front hjfs.cmd draft] hc9 |
---|
====== A wiki 9front hjfs.cmd draft ====== | ====== A wiki 9front hjfs.cmd draft ====== |
| |
| === wiki draft editing tasks: === |
| - Replace //cwfs// with hjfs (//complete//) |
| - Review and correct inaccurate mention/use of //hjfs.cmd// in this document (//pending//) |
| - Review and correct misplaced wiki links (//pending//) |
| |
| === wiki implementation task: === |
| * Retain the wiki //cwfs.cmd// documentation (//pending//) |
| * Retain the wiki //hjfs.cmd// documentation as a wiki link? (//pending//) |
| * yes? (//pending//) |
| * no? (//pending//) |
| |
===== Shutdown and restart ===== | ===== Shutdown and restart ===== |
cpu% fshalt | cpu% fshalt |
| |
halting.../srv/cwfs.cmd... | halting.../srv/hjfs.cmd... |
done halting | done halting |
cpu% | cpu% |
term% fshalt | term% fshalt |
| |
halting.../srv/cwfs.cmd...halted at Fri Oct 30 15:58:54 2020. | halting.../srv/hjfs.cmd...halted at Fri Oct 30 15:58:54 2020. |
| |
done halting | done halting |
|x|From the VPS Maintenance Shell enter '**s**' - force shutdown, then enter '**r**' - reset or start, or '**q**' - disconnect. Enter '**l**' to list your status.| | |x|From the VPS Maintenance Shell enter '**s**' - force shutdown, then enter '**r**' - reset or start, or '**q**' - disconnect. Enter '**l**' to list your status.| |
| |
|x|From the VPS Maintenance Shell enter '**s**' - force shutdown before starting the SDF 9front VPS. Ping the SDF Plan 9 VPS IP address ([[:vps_-_plan_9#configuring_your_ip_address|YOUR_IP]]) to determine if the VPS is running with networking.| | |x|From the VPS Maintenance Shell enter '**s**' - force shutdown before starting the SDF 9front VPS. Ping the SDF Plan 9 VPS IP address ([[:archive:vps_-_plan_9#configuring_your_ip_address|YOUR_IP]]) to determine if the VPS is running with networking.| |
| |
<code> | <code> |
</code> | </code> |
| |
==== Adding a User ==== | ===== Adding a User ===== |
| |
|:!:|THIS IS A DRAFT| | |:!:|THIS IS A DRAFT| |
| |
|x|'[[#front_vps_update_tasks|sysupdate]]' is reserved for the user glenda (Thu Jan 14 08:07:38 GMT 2021).| | |x|'[[#front_vps_update_tasks|sysupdate]]' is reserved for the user glenda (Thu Jan 14 08:07:38 GMT 2021).| |
|x|[[:vps_-_plan_9#adding_a_user|Adding a User]]: The "Adding a User" description from the "Plan 9 on an SDF VPS" does not apply to 9front.| | |x|[[:archive:vps_-_plan_9#adding_a_user|Adding a User]]: The "Adding a User" description from the "Plan 9 on an SDF VPS" does not apply to 9front.| |
| |
^ Section^ FQA 7 - System Management^ | ^ Section^ FQA 7 - System Management^ |
You may want to add a user to your system once you get the hang of things. There is really //no need to create a new user// when you are first starting out. It's safer to use the Drawterm rio rc prompt (%) for the following task, should there be a need for the '[Backspace]' key. | You may want to add a user to your system once you get the hang of things. There is really //no need to create a new user// when you are first starting out. It's safer to use the Drawterm rio rc prompt (%) for the following task, should there be a need for the '[Backspace]' key. |
| |
To create a new user, you must connect to the file server console by typing: '''con -C /srv/cwfs.cmd'''<sup>1</sup>. Once at the file server prompt (''a blank''), create a new user. Replace USER with what you want your new user to be named: 'newuser USER'. You will need to add that USER to the "sys" group if you want it to be able to change system configuration files. Again, change USER to what your new user name is: 'newuser sys +USER'. Exit the file server console prompt (''a blank'') by typing: '**ctrl+\**'. You will now be at the "''> > >''" prompt; type '**q**' to quit the "''> > >''" prompt. | To create a new user, you must connect to the file server console by typing: '''con -C /srv/hjfs.cmd'''<sup>1</sup>. Once at the file server prompt (''a blank''), create a new user. Replace USER with what you want your new user to be named: 'newuser USER'. You will need to add that USER to the "sys" group if you want it to be able to change system configuration files. Again, change USER to what your new user name is: 'newuser sys +USER'. Exit the file server console prompt (''a blank'') by typing: '**ctrl+\**'. You will now be at the "''> > >''" prompt; type '**q**' to quit the "''> > >''" prompt. |
| |
<code> | <code> |
% con -C /srv/cwfs.cmd | % con -C /srv/hjfs.cmd |
newuser USER | newuser USER |
newuser sys +USER | newuser sys +USER |
</code> | </code> |
| |
The following steps assume that you have [[vps_-_plan_9#sam|edited]] files while user "glenda", have run '[[#shutdown_and_restart|% fshalt]]' from the [[#shutdown_and_restart|VPS console]] rc prompt (%) or Drawterm rio rc prompt (%), been able to "[[#shutdown_and_restart|[s] - Force Shutdown]]" and "[[#shutdown_and_restart|[r] - reset or start]]" the VM from the VPS Maintenance Shell, and have used 9front Drawterm successfully. Enter the new "USER" name after an '**fshalt**' and a VPS Maintenance Shell [**s**] - //Force Shutdown// and [**r**] - //reset or start//. | The following steps assume that you have [[:archive:vps_-_plan_9#sam|edited]] files while user "glenda", have run '[[#shutdown_and_restart|% fshalt]]' from the [[#shutdown_and_restart|VPS console]] rc prompt (%) or Drawterm rio rc prompt (%), been able to "[[#shutdown_and_restart|[s] - Force Shutdown]]" and "[[#shutdown_and_restart|[r] - reset or start]]" the VM from the VPS Maintenance Shell, and have used 9front Drawterm successfully. Enter the new "USER" name after an '**fshalt**' and a VPS Maintenance Shell [**s**] - //Force Shutdown// and [**r**] - //reset or start//. |
| |
''user[glenda]:'' <- Enter the new 'USER' name. | ''user[glenda]:'' <- Enter the new 'USER' name. |
</code> | </code> |
| |
<sup>1</sup> For the cwfs file server, only ([[#shutdown_and_restart|"halting.../srv/cwfs.cmd..."]]). <sup>2</sup> [[http://fqa.9front.org/fqa7.html|7.3.1 - Adding users]] //New users are created without a profile, <del>mail directory</del>, tmp directory (needed to edit files with sam) or other confections// (sdf, start, riostart, www, index.html). <sup>3</sup> [[http://fqa.9front.org/fqa7.html|7.3.1 - Adding users]] //The default system /lib/namespace does the [[#ns:|following]]: bind -c /n/other/usr/$user/tmp /usr/$user/tmp// | <sup>1</sup> For the hjfs file server, only ([[#shutdown_and_restart|"halting.../srv/hjfs.cmd..."]]). <sup>2</sup> [[http://fqa.9front.org/fqa7.html|7.3.1 - Adding users]] //New users are created without a profile, <del>mail directory</del>, tmp directory (needed to edit files with sam) or other confections// (sdf, start, riostart, www, index.html). <sup>3</sup> [[http://fqa.9front.org/fqa7.html|7.3.1 - Adding users]] //The default system /lib/namespace does the [[#ns:|following]]: bind -c /n/other/usr/$user/tmp /usr/$user/tmp// |
| |
|:!:|THIS IS A DRAFT| | |:!:|THIS IS A DRAFT| |
| |