bug-coreutils
[Top][All Lists]
Advanced

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

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


From: Al Mamun
Subject: bug#23773: su is not working for non-root users
Date: Thu, 16 Jun 2016 09:36:20 -0400

Hi Erik,

Thank you for your reply. I am using GNU Coreutils su program. Below is the
output of "su --version"

su --version
su (GNU coreutils) 8.4
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by David MacKenzie.



On Thu, Jun 16, 2016 at 3:07 AM, Erik Auerswald <address@hidden>
wrote:

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



-- 
Best Regards

Al Mamun
732-772-5943


reply via email to

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