/usr/bin/su - nobody -c "/usr/bin/su - $1 -c /usr/bin/id"
why nobody?
the script doesn't work,look like this
$ su - testA
3004-501 Cannot su to "testA" : Authentication is denied.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.