| | 1 | = Adding a new user/server to the console server = |
| | 2 | |
| | 3 | After setting up a new server, you may want to enable serial access to that server via our serial server (`console.mayfirst.org`). In the example below `zinn` is the name of the server. |
| | 4 | |
| | 5 | {{{ |
| | 6 | 0 sylvia:~# adduser --disabled-password --gecos='zinn console user,,,' zinn-console |
| | 7 | Adding user `zinn-console' ... |
| | 8 | Adding new group `zinn-console' (1014) ... |
| | 9 | Adding new user `zinn-console' (1014) with group `zinn-console' ... |
| | 10 | Creating home directory `/home/zinn-console' ... |
| | 11 | Copying files from `/etc/skel' ... |
| | 12 | 0 sylvia:~# cereal-admin create zinn /dev/ttyS14 115200 zinn-console zinn-console |
| | 13 | Created session 'zinn': |
| | 14 | --f zinn /dev/ttyS14 115200 zinn-console zinn-console |
| | 15 | 0 sylvia:~# cereal-admin start zinn |
| | 16 | Started session 'zinn'. |
| | 17 | 0 sylvia:~# cat .ssh/authorized_keys >> ~zinn-console/.ssh/authorized_keys |
| | 18 | 0 sylvia:~# |
| | 19 | }}} |