You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
QA/tests/p_passwd/10_passwd_basic_test

9 lines
237 B

#!/bin/bash
#Author: Iain Douglas <centos@1n6.org.uk>
#
t_Log "Running $0 - Basic passwd functionality checks"
userdel -rf passtest; useradd passtest &>/dev/null
echo passtest | passwd --stdin passtest &>/dev/null
t_CheckExitStatus $?