You only need conditions 2) and 3), since 2) implies 1). Let $R$ be a commutative ring.
The first/second condition tells us that $R$ contains at least three ideals $(0) \subset I \subset R$.
Now let $J$ be any non-zero, proper ideal of $R$. By definition of $I$ we have that $J \subset I$. Our goal is to show that $J = I$. Now, certainly $J$ contains some non-zero non-unit element $s \in J$, so we have the chain of inclusions $$
(s) \subset J \subset I
$$
Thus if we can show $(s) = I$ we are done.
Now, by condition 2) we can write $I = (r)$ for some non-zero $r \in I$. We claim that for any $a \in R$, if $a \notin R^*$ then $ar = 0$.
Assume that $a \notin R^*$. Then $a \in I$. Since $I = (r)$, you have $a = br$ for some $b \in R$. But then $ar = br^2 = 0$ by condition 3), as desired.
Now, since $s \in I$, we can write $s = ar$ for some $a \in R$. Since $s$ is nonzero, by the above discussion $a$ is a unit, thus $a^{-1}s = r$. So $I = (r) \subset (s)$.
Thus we have $I \subset J \subset I$, hence $J = I$ and $R$ has exactly three ideals.
Condition wise, it seems to be enough to say that $I = R\setminus R^* = (r)$ for some nonzero $r$ with $r^2 = 0$.