My script, when executed as root, uses the sudo without passwd, and that is fine. Sometimes however, I must execute that script as an ordinary user, which "switches" to itself by that sudo command. I must omit the passwd procedure in this case also.
Currently I use the default (almost empty) sudoers file. I'd like to extend it with a simple, general, not user-specific rule for the above.
I tried to setup some wildcard rules with * and ALL, but failed.
Thank you for your help.