[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



Gordon Messmer wrote:

edwardspl 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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]