Step 1: Recall the condition on direction cosines.
For a line with direction cosines \( l, m, n \),
\[
l^2 + m^2 + n^2 = 1
\]
Step 2: Use the given condition.
Since the line makes equal angles with the coordinate axes,
\[
l = m = n
\]
Step 3: Substitute in the identity.
\[
3l^2 = 1
\Rightarrow l^2 = \frac{1}{3}
\Rightarrow l = \frac{1}{\sqrt{3}}
\]
Step 4: Sign of direction cosines.
As the line lies in the first octant, all direction cosines are positive.
Step 5: Conclusion.
\[
\boxed{l = m = n = \frac{1}{\sqrt{3}}}
\]