There must be a way to modify one of the configuration files to allow login to occur automatically into guest account as before removal of sudo since it is possible to login manually via terminal session and issue startx command.

zzz wrote:@karlchen,mdmsetup (as root) gave the following:No command 'mdmsetup' found

The answer has been given in the post right above yours: As removing sudo will remove mdm, it will remove mdmsetp as well. Without mdm there is no need to worry about editing mdm.conf any longer.The lesson from this thread is pretty trivial: Do not uninstall sudo.

zzz wrote:@karlchen,mdmsetup (as root) gave the following:No command 'mdmsetup' found

The answer has been given in the post right above yours: As removing sudo will remove mdm, it will remove mdmsetp as well. Without mdm there is no need to worry about editing mdm.conf any longer.The lesson from this thread is pretty trivial: Do not uninstall sudo.

Then+ simply do not use the command sudo and make sure no-one else does+ make sure user root has got a valid password.+ remove all normal users from the user group sudo. I.e. no-one will be able to use sudo.+ whenever you need to run a command with root privileges you will have to use