shell variable security

Miner, Jonathan W (CSC) (US SSA) jonathan.w.miner at baesystems.com
Wed Oct 3 15:28:22 UTC 2007




> We have all heard about security problems with shell variables

You can also put quotes around it when you use it...

echo "$Name"

This is good practice just in case someone puts "whitespace" into their input.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 2432 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20071003/3ff7be87/attachment-0001.bin>


More information about the fedora-list mailing list