On 03/11/2010 01:01 AM, islam said wrote:
> Dear Sir,
> Good Day.
> 
> i'm using REDHAT Linux Server 9 and i noticed while using SU command the -l
> option which is very useful.
> I checked for this option in the SU tool installed with IBM AIX UNIX i
> didn't find it.
> So i'm asking you where can i find and download the source of the SU tool
> installed in Linux REDHAT 9  so i can install it on IBM AIX UNIX.

It is available from multiple packages.  Coreutils is one of those
packages, but most distros use another version.  Therefore, if you are
interested in using Coreutils' version of su, you need to specifically
request it at configure time when compiling coreutils on your AIX machine:

$ wget http://ftpmirror.gnu.org/coreutils/coreutils-8.4.tar.xz
$ tar xJvf coreutils-8.4.tar.xz
$ cd coreutils-8.4
$ ./configure --enable-install-program
$ make
$ make install

will give you /usr/local/bin/su that understands -l

-- 
Eric Blake   [email protected]    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to