Files
infix/test/case/ietf_system/user_admin
Mattias Walström 3b3656c8f5 test: spec: change image format from PNG to SVG
SVG is a plain text file, better to see why it changed
than binary PNG. Also fix #744 by adding infix/OEM hash
to test specification

Signed-off-by: Mattias Walström <lazzer@gmail.com>
2024-10-23 14:21:26 +02:00
..

=== Add admin user
==== 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
ifdef::topdoc[]
image::../../test/case/ietf_system/user_admin/topology.svg[Add admin user topology]
endif::topdoc[]
ifndef::topdoc[]
ifdef::testgroup[]
image::user_admin/topology.svg[Add admin user topology]
endif::testgroup[]
ifndef::testgroup[]
image::topology.svg[Add admin user topology]
endif::testgroup[]
endif::topdoc[]
==== Test 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


<<<