mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-06 07:33:01 +02:00
This commit greatly simplifies AsciiDoc image references in generated Readme.adoc files. The two focused use-cases that remain after this change are working references in: - Generated output/images/test-report.pdf - Viewing test's Readme.adoc from GitHub Previously we aimed to have working images also when the test's Readme was included in the parent directory's Readme.adoc. This, however, is not supported as of this commit. It seems unlikely also to ever be a supported feature of AsciiDoc on GitHub, for details, see the following issue: <https://github.com/github/markup/issues/1095> Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
ifdef::topdoc[:imagesdir: {topdoc}../../test/case/ietf_system/user_admin]
=== 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
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