Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Sysadmin/Add shell account
(view source)
Revision as of 20:01, 23 June 2015
43 bytes added
,
20:01, 23 June 2015
no edit summary
Line 31:
Line 31:
Please '''do not create accounts directly with useradd/userdel'''. Instead:
Please '''do not create accounts directly with useradd/userdel'''. Instead:
−
* Log into sunjammer forwarding your ssh agent
(
ssh -A
)
+
* Log into sunjammer
,
forwarding your ssh agent
:
−
* Become root
with `
sudo -i
`
+
+
ssh -A
sunjammer
+
+
* Become root
:
+
+
sudo -i
+
* Run this shell script to create a user and copy the credentials from sunjammer:
* Run this shell script to create a user and copy the credentials from sunjammer:
remote-useradd <remotehost> <user> <groups...>
remote-useradd <remotehost> <user> <groups...>
−
Typically, you'll want to add users to groups
`
sudo
`
,
`
adm
`
,
`
libvirtd
`
and
`
docker
`
.
+
Typically, you'll want to add users to groups
<tt>
sudo
</tt>
,
<tt>
adm
</tt>
,
<code>
libvirtd
</tt>
and
<code>
docker
</tt>
.
== See also ==
== See also ==
Bernie
Bureaucrats
,
Check users
,
Administrators
1,784
edits