Difference between revisions of "Sysadmin/Add shell account"
Line 3: | Line 3: | ||
== Guidelines == | == Guidelines == | ||
+ | |||
+ | Ask users to follow diligently the [[Sysadmin/Shell_account_request]] procedure. | ||
Users should briefly motivate their request. "I'd like to distribute some | Users should briefly motivate their request. "I'd like to distribute some | ||
Sugar-related files on people.sugarlabs.org" would suffice. | Sugar-related files on people.sugarlabs.org" would suffice. | ||
− | Shell accounts shouldn't be granted to untrusted individuals without | + | '''Shell accounts shouldn't be granted to untrusted individuals without referrals.''' |
− | referrals. Shell accounts that are known to be unused should be disabled. | + | '''Shell accounts that are known to be unused should be disabled with <tt>system-userdel</tt>.''' |
== Account creation on shell.sugarlabs.org == | == Account creation on shell.sugarlabs.org == | ||
Line 16: | Line 18: | ||
system-useradd <username> <first_name> <last_name> <email> | system-useradd <username> <first_name> <last_name> <email> | ||
− | At some point | + | At some point the script will prompt you to paste the user's ssh key. |
You can skip this part and edit ~user/.ssh/authorized_keys manually. | You can skip this part and edit ~user/.ssh/authorized_keys manually. | ||
Line 22: | Line 24: | ||
The email is also copied to ~user/welcome, in case they loose the | The email is also copied to ~user/welcome, in case they loose the | ||
original message. | original message. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
− | + | * [[Sysadmin/User_management]] -- all other operations on user accounts | |
− | * [[Sysadmin/User_management]] |
Revision as of 16:17, 17 September 2011
Users normally do follow the Sysadmin/Shell account request. The account requests arrive to a support queue on our RT system (Machine/treehouse/rt).
Guidelines
Ask users to follow diligently the Sysadmin/Shell_account_request procedure.
Users should briefly motivate their request. "I'd like to distribute some Sugar-related files on people.sugarlabs.org" would suffice.
Shell accounts shouldn't be granted to untrusted individuals without referrals. Shell accounts that are known to be unused should be disabled with system-userdel.
Account creation on shell.sugarlabs.org
To create an account, become root on Machine/sunjammer and type:
system-useradd <username> <first_name> <last_name> <email>
At some point the script will prompt you to paste the user's ssh key. You can skip this part and edit ~user/.ssh/authorized_keys manually.
The procedure automatically sends a welcome email to the user. The email is also copied to ~user/welcome, in case they loose the original message.
See also
- Sysadmin/User_management -- all other operations on user accounts