[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Detect if root login is disabled?



Igor Pashev <pashev.igor@gmail.com> wrote:
> su?

su doesn't distinguish between a locked password and an incorrectly entered one.

Would like to know the locked status before trying su so that the
program can either fall back to sudo or give an error message more
informative than just "incorrect password".


Reply to: