Let $R$ be a commutative ring with identity. I'd like to know how to determine the set $\text{Aut}_R(R[X])$ of all $R$-automorphisms of $R[X]$.
I've proved that all $\sigma\in\text{Aut}_R(R[X])$ must satisfy $\sigma(X)=f(X)(X-a)$ (where the constant term of $f$ is invertible and the coefficients of other terms are nilpotent). Thus if $R$ is reduced, $\text{Aut}_R(R[X])=\{X\mapsto aX+b|\ a\in R^\times,b\in R\}$ ($R^\times$ is the group of units of $R$). How about the general cases?