How can I create passwordless users and restrict them from login using "su"?
Issue
-
How to create a user ID with no (NP) password?
-
There is a option like
passwd -d (user ID)orpasswd -u -f (user ID), to set no password. But in this option any user can able to dosuwith any other available ID's. Is there any other way to restrict local users to do ansuto other passwordless local users.
Environment
- Red Hat Enterprise Linux 5.7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
