On 02/24/2020 01:06 PM, Beartooth wrote:
On Mon, 24 Feb 2020 14:49:25 -0500, Tim Evans wrote:
> On 2/24/20 2:40 PM, Beartooth wrote:
>
>> Well, I tried it:
>>
>> # passwd $xxxx Changing password for user root.
> Did you enter the literal "$"? That would've indicated an empty
> variable, so would have been the same as entering "passwd blank". Which
> would have indicated you wanted to change root's password.
Yes. I took that as meaning I should. :-( (My .sig, alas!, means
what it says.)
FYI, when you want to use the value of a variable, such as PATH, you use
$PATH, such as in using echo $PATH to find out just what your current
PATH is. I used $USERNAME to show that I wanted you to use the username
and not just USERNAME in that command. This usage has been customary
for decades, and although you don't claim to know much about such
things, it never occurred to me that you might not understand it.
Consider this a learning experience.