Here is what we're running on RHEL6.7, and it's throwing 99 as the return code 
($?)

test:/root#  /sbin/runuser -s /bin/ksh - tomcat -c whoami
test:/root#  echo $?
test:/root#  99


Kyle Wooten
Systems Engineer - OSE Linux Engineering
The Home Depot - NewMarket - Atlanta
2221 Newmarket Parkway Marietta Suite 120, GA 30067
Phone: 770-433-8211, Ex. 24889 | Cell: 678-237-5506

From: Wooten, Kyle
Sent: Friday, August 28, 2015 12:52 PM
To: 'bug-coreutils@gnu.org'
Subject: Coreutils RHEL 6.7 runuser

/sbin/runuser issue on RHEL 6.7 when executing `whoami` as tomcat.

Strace -f attached.

Kyle Wooten
Systems Engineer - OSE Linux Engineering
The Home Depot - NewMarket - Atlanta
2221 Newmarket Parkway Marietta Suite 120, GA 30067
Phone: 770-433-8211, Ex. 24889 | Cell: 678-237-5506


________________________________

The information in this Internet Email is confidential and may be legally 
privileged. It is intended solely for the addressee. Access to this Email by 
anyone else is unauthorized. If you are not the intended recipient, any 
disclosure, copying, distribution or any action taken or omitted to be taken in 
reliance on it, is prohibited and may be unlawful. When addressed to our 
clients any opinions or advice contained in this Email are subject to the terms 
and conditions expressed in any applicable governing The Home Depot terms of 
business or client engagement letter. The Home Depot disclaims all 
responsibility and liability for the accuracy and content of this attachment 
and for any damages or losses arising from any inaccuracies, errors, viruses, 
e.g., worms, trojan horses, etc., or other items of a destructive nature, which 
may be contained in this attachment and shall not be liable for direct, 
indirect, consequential or special damages in connection with this e-mail 
message or its attachment.

Reply via email to