account
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| account [2012/01/11 17:51] – lentinj | account [2016/10/30 09:01] (current) – [Creating an Account] alex | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== User Account Handling ====== | ====== User Account Handling ====== | ||
| - | As there is more than one server that will make up the Wormnet universe, in addition to a few xDSL joined NASes and systems, we need to roll out some kind of central user management database. | ||
| - | The packages required to be installed to do this are: | + | ===== Creating an Account ===== |
| - | * [[http:// | + | |
| - | * [[http:// | + | |
| - | * [[http:// | + | |
| - | * [[http:// | + | |
| - | * [[http:// | + | |
| - | ===== User Management ===== | ||
| - | ==== Modifying an Account ==== | ||
| - | Adding SSH keys, etc. can be done without root access. Do:- | ||
| - | |||
| - | # Set $EDITOR if vi isn't your thing | ||
| - | $ ldapvi --discover -D uid=${USER}, | ||
| - | |||
| - | ... and add/remove sshPublicKey lines to your heart' | ||
| - | |||
| - | ==== Creating an Account ==== | ||
| - | root@marmot: | ||
| - | root@marmot: | ||
| - | root@marmot: | ||
| - | Successfully added user $NEW_USER to LDAP | ||
| - | Successfully set password for user $NEW_USER | ||
| - | | ||
| - | root@marmot: | ||
| - | root@marmot: | ||
| - | LDAP administrator password: | ||
| - | New password: | ||
| - | Retype new password: | ||
| - | passwd: password updated successfully | ||
| - | | ||
| - | root@marmot: | ||
| - | objectClass: | ||
| - | sshPublicKey: | ||
| - | sshPublicKey: | ||
| - | | ||
| root@marmot: | root@marmot: | ||
| root@marmot: | root@marmot: | ||
| - | root@marmot: | ||
| - | LABEL=home-fred | ||
| root@marmot: | root@marmot: | ||
| + | root@marmot: | ||
| root@marmot: | root@marmot: | ||
| - | root@marmot: | + | root@marmot: |
| - | root@marmot: | + | root@marmot:~# passwd |
| + | root@marmot: | ||
| + | root@marmot: | ||
| + | root@marmot: | ||
| + | root@marmot: | ||
| root@marmot: | root@marmot: | ||
| - | + | ==== Restricting to Just sftp/scp ==== | |
| - | root@marmot: | + | If you make the users account use the shell '' |
| - | memberUid: $NEW_USER | + | |
account.1326304303.txt.gz · Last modified: 2012/01/11 17:51 by lentinj