Hi Friends,
I have a query about non-interactive login..
I want to add a user "test" with non-interactive login.
Step: useradd -s /sbin/nologin test
passwd test
--
--
Now I want to #su test
But I am getting the below error.
"This account is currently not available" message.
I have also make some changes in /etc/security/access.conf file but no luck. How can we do this???
test
isallow console logins to all but a few accounts.
#
#-:ALL EXCEPT wheel shutdown sync:LOCAL
#
# Disallow non-local logins to privileged accounts (group wheel).
#
#-:wheel:ALL EXCEPT LOCAL .win.tue.nl
Thanks-