mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-27 11:13:02 +02:00
=== Add Admin User
ifdef::topdoc[:imagesdir: {topdoc}../../test/case/system/user_admin]
==== Description
Test that a non-admin user is not an admin in Linux, and
check that it when added as admin it is also the case in Linux.
==== Topology
image::topology.svg[Add Admin User topology, align=center, scaledwidth=75%]
==== Sequence
. Set up topology and attach to target DUT
. Add new user 'jacky' with no NACM access
. Verify regular user jacky exists
. Verify user jacky is not in wheel group (in Linux)
. Verify user jacky password is set correctly
. Add user jacky to admin group in NACM
. Verify user jacky is now in wheel group (in Linux)
. Verify user jacky shell now is Bash
. Change user jacky to $factory$ password
. Verify user jacky exists and has new password
. Verify user jacky can log in with SSH