[Top][All Lists]

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

bug#23773: su is not working for non-root users

From: Erik Auerswald
Subject: bug#23773: su is not working for non-root users
Date: Thu, 16 Jun 2016 09:07:17 +0200
User-agent: Mutt/1.5.21 (2010-09-15)


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,
[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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]