Hide failure library's warnings.
This commit is contained in:
@@ -18,7 +18,7 @@ change_config
|
||||
|
||||
echo -n "Change passwords (chpasswd -e)..."
|
||||
echo 'nobody:test
|
||||
lp:test2' | LD_PRELOAD=../../../common/time_0.so chpasswd -e
|
||||
lp:test2' | LD_PRELOAD=../../../common/time_0.so chpasswd -e 2>/dev/null
|
||||
echo "OK"
|
||||
|
||||
echo -n "Check the passwd file..."
|
||||
|
||||
@@ -17,7 +17,7 @@ trap 'log_status "$0" "FAILURE"; restore_config' 0
|
||||
change_config
|
||||
|
||||
echo -n "Change the user's password (usermod -p foopass foo)..."
|
||||
LD_PRELOAD=../../../common/time_0.so usermod -p foopass foo
|
||||
LD_PRELOAD=../../../common/time_0.so usermod -p foopass foo 2>/dev/null
|
||||
echo "OK"
|
||||
|
||||
echo -n "Check the passwd file..."
|
||||
|
||||
@@ -17,7 +17,7 @@ trap 'log_status "$0" "FAILURE"; restore_config' 0
|
||||
change_config
|
||||
|
||||
echo -n "Change the user's password (usermod -f 12 foo)..."
|
||||
LD_PRELOAD=../../../common/time_0.so usermod -f 12 foo
|
||||
LD_PRELOAD=../../../common/time_0.so usermod -f 12 foo 2>/dev/null
|
||||
echo "OK"
|
||||
|
||||
echo -n "Check the passwd file..."
|
||||
|
||||
Reference in New Issue
Block a user