Hi,
On Thu, Jun 16, 2016 at 07:44:06AM +0200, Bernhard Voelker wrote:
> On 06/15/2016 06:31 PM, Al Mamun wrote:
> > I was trying to "su - nonrootuser" but it returns incorrect password but
> > the password is ok and I can login from ssh. Everything is good with root.
> > Only the non-root user is causing the problem.
>
> The program su is no longer part of coreutils since version 8.18 (2012),
> so - depending on your distribution - chances are that you're using the
> implementation of the util-linux package.
To verify if you are using a GNU Coreutils su program you can use:
su --version
A GNU program is supposed to tell you its version (see for example "ls
--version"), while the non-GNU su program on my systems does not recognize
this option:
$ su --version
su: unrecognized option '--version'
Usage: su [options] [LOGIN]
[...]
> Thus said, we cannot help you here, and therefore I'm marking this as
> done in our bug tracker.
Best regards,
Erik
--
[T]he fact that something *can* be done the stupid way is in no way an
argument that it *should* be done the stupid way.
-- Linus Torvalds