This is just an illustrative example, showing users how to grant root access (and get the password for it). It's not being logged not is it intended to be used as is in any other process.