Overdamped motion of interacting particles in general confining potentials: time-dependent and stationary-state analyses