On Thu, Apr 28, 2022 at 1:43 PM <rsbecker@xxxxxxxxxxxxx> wrote: > I tried to find is_root in POSIX but could not. Do you have a reference? It is not in bash 4.3.48, which is on our older system. my bad; is_root is a helper function i provided as part of this file; the latest version which should work in your posix system AND was specifically written to hopefully not break with NON-STOP based on what you told us about it looks like (hand edited and not tested) : is_root() { id -u >u id -u root >r cmp u r }