> Why do you not use the "id -u" command and check for 0 as result? Yes, I could do that. thanks. Francois