mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-29 12:13:01 +02:00
Let's drop the leading IETF or Infix prefixes from tests. Initially the idea was to mimnic the YANG models, but it's difficult to navigate and does not provide any real benefit to developers or end-users. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
=== Add/delete user
ifdef::topdoc[:imagesdir: {topdoc}../../test/case/system/add_delete_user]
==== Description
Verify that it is possible to add/delete a user. The user password is hashed
with yescrypt.
==== Topology
image::topology.svg[Add/delete user topology, align=center, scaledwidth=75%]
==== Sequence
. Set up topology and attach to target DUT
. Add new user 'newuser01' with password 'newuser01password'
. Verify user 'newuser01' exist in operational
. Verify user 'newuser01' can login with SSH
. Delete user 'newuser01'
. Verify erasure of user 'newuser01'
. Verify that 'newuser01' is removed from /etc/passwd