[sudo-users] How to disable ( deny ) user to change the password of root

edwardspl at ita.org.mo edwardspl at ita.org.mo
Thu Nov 20 09:25:22 UTC 2008


Gordon Messmer wrote:

> edwardspl at ita.org.mo wrote:
>
>>
>> Sorry, what means about the sentence ?
>
>
> The last line of the script that I suggested to you was:
>
> passwd -- "$1"
>
> That line would be more secure if it were specific about where 
> "passwd" should be:
>
> /usr/bin/passwd -- "$1"
>
Hello,

Sorry,
Would you mind to tell me what different between "passwd" and 
"/usr/bin/passwd" ?

Many thanks !

Edward.




More information about the users mailing list