This question concerns reduced scheme structure on locally complete intersection, and I guess the answer is related to the number of generators of a radical ideal.

I am confused about the following proposition in Hartshorne's Algebraic Geometry, Chapter 2:

**Proposition 8.23** Let $Y$ be a locally complete intersection subscheme of a nonsingular variety $X$ over $k$. Then:

(a) $Y$ is Cohen-Macaulay;

(b) $Y$ is normal if and only if it is regular in codimension 1.

In the proof of (b), the author says that "regular in codimension 1" is just (R1) condition and then uses his Theorem 8.22A, but I think he forgets to treat the case of codimension 0. In order to use (8.22A), one needs the fact that any local ring $\mathcal{O}_{Y,y}$ of $Y$ of dimension 0 is regular.

It is trivially true that a dimension 0 reduced local ring is regular (and hence is a field). In contrast, if $\mathcal{O}_{Y,y}$ is not reduced, then it might not be regular. For example, $k[x]/(x^2)$ is a dimension 0 non-reduced non-regular local ring.

So I guess that in (8.23), the author assumed $Y$ to be reduced.

Now **my question** comes: if $Y$ is not reduced at first, and let $Y^\prime$ be $Y$ with the reduced closed subscheme structure from $X$, is it true that $Y^\prime$ is still a locally complete intersection?

Locally, the question is: Let $A$ be a finitely generated local ring over a field $k$, and $I=\langle x_1,\dots,x_r\rangle$ be an ideal generated by $x_1,\dots,x_r$ in $A$ (the $x_i$'s in fact form a regular sequence in the situation of locally complete intersection). Then is $\sqrt{I}$ also generated by $r$ elements?

I am sorry if this question turns out to be easy.