This is not a yucca glauca, if you notice the other images show needle like leaves, and yuccas are rarely houseplants to my knowledge. . This looks like a Dracaena of some sort but I am unsure which one. Perhaps you can post it in the Plant ID forum and someone can get a better ID.