Files
infix/test/case/ietf_system/user_admin
Richard Alpe 28f67ff608 test: add topdoc dir to all test specifications
This should be a non functional change. The idea is to use the topdoc
dir from 9pm when generating the test report.

Signed-off-by: Richard Alpe <richard@bit42.se>
2025-01-21 15:02:11 +01: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::{topdoc}../../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


<<<