Page MenuHomeDevCentral

Dwellers should allow escalation from ops@ to root@
Closed, ResolvedPublic

Description

D20 introduces systemd testing.

We have as objective for August to deploy and be able to rebuild Dwellers from scratch through SaltStack.

Meanwhile, a root access seems necessary to tweak systemd.

Event Timeline

dereckson claimed this task.
dereckson raised the priority of this task from to Normal.
dereckson updated the task description. (Show Details)
dereckson added subscribers: dereckson, Sandlayth.

System log

Jul 14 20:18:32 dwellers.nasqueron.org useradd[18958]: new user: name=ops-root, UID=0, GID=0, home=/home/ops-root, shell=/bin/bash
Jul 14 20:18:55 dwellers.nasqueron.org passwd[19075]: pam_unix(passwd:chauthtok): password changed for ops-root

Operation log

$ useradd -ou 0 -g 0 ops-root
$ passwd ops-root
[...]

Password at K38. Visible to NasqDDS group members.

Testing

Jul 14 20:19:06 dwellers.nasqueron.org su[19798]: (to dereckson) dereckson on pts/8
Jul 14 20:19:06 dwellers.nasqueron.org su[19798]: pam_unix(su-l:session): session opened for user dereckson by (uid=0)
Jul 14 20:19:15 dwellers.nasqueron.org su[20002]: (to ops-root) dereckson on pts/8
Jul 14 20:19:15 dwellers.nasqueron.org su[20002]: pam_unix(su:session): session opened for user ops-root by (uid=1000)
Jul 14 20:19:29 dwellers.nasqueron.org su[20002]: pam_unix(su:session): session closed for user ops-root
Jul 14 20:19:31 dwellers.nasqueron.org su[19798]: pam_unix(su-l:session): session closed for user dereckson