[Top][All Lists]

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

Re: Problem with 'su' command

From: Bob Proulx
Subject: Re: Problem with 'su' command
Date: Sun, 11 Dec 2005 14:51:07 -0700
User-agent: Mutt/1.5.9i

GRONDIN Bertrand wrote:
> Description:
>    Problem with 'su' command just after a login even in superoot.

Thank you for your report.  But the 'su' command is not part of bash
but is actually implemented by several other packages.  So the first
step would be to determine exactly which version of su you are using.
I find it easiest to use the bash type command to determine this.
Here is the result on my machine.

  type su
  su is hashed (/bin/su)

If that is the GNU coreutils version of 'su' then it will respond to
the --version option.  If it is the util-linux version then it won't.

  su --version
  su (GNU coreutils) 6.0-cvs

Or it might say:

  su --version
  su: unrecognised option `--version'

If you are using a distribution based system then more information may
be determined by querying your package manager.  For example:

On a dpkg based system:

  dpkg -S /bin/su
  login: /bin/su

On a rpm based system:

  rpm -qf /bin/su

Other systems will have other methods but these examples should
provide you with the idea behind them.

If you are using a distro based system then it is probably best to
make your bug report directly to them as the 'su' command tends to be
very system specific.


reply via email to

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