This is the normal operation of the SUDO command. Read the man page for sudo — man sudo.
Sudo has many configurable parameters which control its operation. > On Thu, 19 Oct 2017, pagani laurent via macports-users wrote: > >> Hi all, >> >> Reading the mails on this list, I discovered the Shell mode option (sudo >> port without argument) which would allow in principle to launch several >> commands without repeating sudo port each time (and typing the passwd). But >> once in that mode, I typed selfupdate and was exited from the the mode after >> completion! Could not run upgrade outdated in the wake? In that case, what?s >> the use of such a shell mode ? >> >> Thanks, >> Laurent >> >> "S'il n'y a pas de solution, c'est qu'il n'y a pas de probl?me" (devise >> Shadok) >> >> > > XB William H. Magill mag...@icloud.com whmag...@gmail.com