-pで、パスワードのプロンプトをカスタマイズできると、manに書いてありますが、書き方が理解できませんでした。
サンプルか、使用例をご教授願い致します。
こんな感じでどうでしょうか。
$ sudo -p "Enter %u's password: " su
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
Enter monyo's password:
こんな感じでどうでしょうか。
$ sudo -p "Enter %u's password: " su
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
Enter monyo's password:
理解できました。ありがとうございます。
理解できました。ありがとうございます。