On 4/25/2012 5:11 PM, Stuart Henderson wrote:
On 2012-04-24, Tyler<disc...@gmail.com>  wrote:
Hi,

Is there a way to create logins that are only accessed via
authorized_keys so that security(8) doesn't complain about them every day?

The general goal is to disable remote root login via SSH and allow an
unprivileged "admin" user access via key files and pass phrases (and
then sudo or su).

My problem is security(8) complains about this every day:

"Login admin is off but still has a valid shell and alternate access
files in home directory are still readable."
vipw and set the crypted password to 13 *'s. pretty sure the old
/etc/security script did the same thing in this respect.


Thanks for the help.

This worked -- security is no longer whining about the accounts -- and I found the proper documentation in passwd(5).

--

Reply via email to