On 3/2/06, Gerard Beekmans <[EMAIL PROTECTED]> wrote:
>
> Ag, I noticed you submitted a patch for 'su.' Thanks for your work but
> it seems we may not be using the patch if the new shadow package is
> released after the weekend as indicated by shadow's developer(s). Thanks
> for the contribution, though. It's appreciated.

Shadow-4.0.15 hasn't been "officially" released, but there is a tarball in

ftp://ftp.pld.org.pl/software/shadow/snapshot/shadow-4.0.15.tar.bz2

coinciding with this post the other day:

http://mail.pld.org.pl/mailman/pipermail/shadow/2006-March/000262.html

Anyway, I'm playing around with it.  -c is supported:

$ src/su --help
Usage: su [options] [login]

Options:
  -c, --command COMMAND         pass COMMAND to the invoked shell
  -h, --help                    display this help message and exit
  -, -l, --login                make the shell a login shell
  -m, -p,
  --preserve-environment        do not reset environment variables, and keep
                                the same shell
  -s, --shell SHELL             use SHELL instead of the default in passwd

$ src/su -c "ls"
ABOUT-NLS    TODO          config.status  etc         missing
COPYING      acinclude.m4  config.sub     install-sh  mkinstalldirs
ChangeLog    aclocal.m4    configure      lib         po
Makefile     config.guess  configure.in   libmisc     shadow.spec
Makefile.am  config.h      configure.log  libtool     shadow.spec.in
Makefile.in  config.h.in   contrib        ltmain.sh   src
NEWS         config.log    depcomp        make.log    stamp-h1
README       config.rpath  doc            man

Don't know when the official release will be.

--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to