mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 04:33:00 +02:00
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>
34 lines
1014 B
Plaintext
34 lines
1014 B
Plaintext
=== 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
|
|
|
|
|
|
<<<
|
|
|