macbook and sudo
when I test below command in termial:
$> sudo ls -l .
then terminal will ask me input password, but current user has no password, and terminal will output nothing after entered.
after give current user a new password:
$> passwd
old password, new password, confirm new password, then type command in terminal again:
$> sudo ls -l .
input new password and enter, then results output as expected.
No comments :
Post a Comment