Your friend should be in pretty good shape for a walk-in permit, but get there early to line up just in case. Stop at the ranger station the day before and they can give you some indication what the line is like. And your best bet for snagging a walk-in permit will on Tuesday through Thursday (more people like to start on or near weekends).
You can stay at the backpacker’s campground the first night. Depending on demand, people line up early, but you are not allowed to camp or sleep in line at the ranger station.