ログインコマンドは、ユーザー名/パスワードの入力を求められません。

ログインコマンドは、ユーザー名/パスワードの入力を求められません。

fedora-14では、「login」コマンドにはユーザー名とパスワードが必要です。

 $login
 login: 
 Password: 

ただし、最新バージョン(Fedora19)では、「login」コマンドはユーザー名/パスワードの入力を求めずに中断されます。以前の機能を復元する方法は?

ベストアンサー1

loginコマンドは以下に設定されています/etc/login.defs。特に2つの変数に興味があります。

#If defined, this file will be output before each login prompt.
ISSUE_FILE     /etc/issue

# Password prompt (%s will be replaced by user name).
LOGIN_STRING           "%s's Password: "

おすすめ記事