Hello SunRay-Users,
This is probably a message to the Sun crew, but others may be
interested too:
I have triggered a small bug in /opt/SUNWut/bin/utselect from
SRSS 3.1 (ident "@(#)utselect.sh 1.51 04/10/19 SMI").
Maybe it has been fixed since then?
There's a clause like this:
# Pass through if there's only one choice, and remote = false
if [ $mode = "login" -a $lines -le 1 -a $remote = "false" ]
then
exit
fi
In my case (I ran it without parameters from a CAM terminal) it
works as:
+ [ normal = login -a 2 -le 1 -a = false ]
/opt/SUNWut/bin/utselect[482]: [: argument expected
Apparently, the script source code here (and other locations) is
missing double-quotes around variable names (i.e. "$remote").
I suggest someone takes a few hours to search around this and
other scripts to fix such locations. As we were taught, they
are something between a bug and security problem (i.e. env-var
value injection) waiting to happen, if they're still in release
code.
Thanks :)
--
Best regards,
Jim Klimov mailto:[EMAIL PROTECTED]
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users