Blame tests/p_shadow-utils/15-lastlog_tests
|
Athmane Madjoudj |
536354 |
#!/bin/bash
|
|
Athmane Madjoudj |
536354 |
# Author: Iain Douglas <centos@1n6.org.uk>
|
|
Athmane Madjoudj |
536354 |
|
|
Athmane Madjoudj |
536354 |
echo "Running $0"
|
|
Athmane Madjoudj |
536354 |
echo "Checking lastlog"
|
|
Athmane Madjoudj |
536354 |
lastlog -u shadowuser | grep -q '**Never logged in**'
|
|
Athmane Madjoudj |
536354 |
t_CheckExitStatus $?
|