Your message dated Fri, 25 Jul 2008 09:32:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#379963: fixed in sux 1.0.1-5
has caused the Debian Bug report #379963,
regarding Target user's .bash_profile is run twice with `sux -'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
379963: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=379963
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: sux
Version: 1.0.1-3.2
Severity: normal


Hi,

when called as `sux - <random user>', sux runs the target user's
~/.bash_profile script twice :

[EMAIL PROTECTED]|pts/5:~# adduser --disabled-password --gecos '' foobar > 
/dev/null
[EMAIL PROTECTED]|pts/5:~# echo "echo \"This is foobar's ~/.bash_profile\"" >> 
~foobar/.bash_profile
[EMAIL PROTECTED]|pts/5:~# sux - foobar
This is foobar's ~/.bash_profile
xauth:  creating new authority file /home/foobar/.Xauthority
This is foobar's ~/.bash_profile

This is apparently due to sux not dropping the minus in the su(1)
invocation, and running the command `$SHELL -l' (``login''). The exact
command line sux generates appears to be this one:

exec su  - foobar -c "eval $TERM;      exec env  TERM='xterm' DISPLAY=':0' sh 
-c \"exec $SHELL -l\""
       ^^^                                                                      
              ^^^
       Minus invocation                                                         
              Login shell

The man page for sux reads in part:

        ’sux user’ and ’sux - user’ behave just like su but transfer $DISPLAY
        and the X cookies.

Since su(1) doesn't do that, this behaviour is unexpected, and can lead
to annoying and unwanted side-effects. Could you please fix this ?


Cheers,
        -- W.

-- System Information:
Debian Release: testing/unstable
  APT prefers experimental
  APT policy: (600, 'experimental'), (550, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-rc3-k7
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to fr_FR.UTF-8)

sux depends on no packages.

Versions of packages sux recommends:
ii  xbase-clients                 1:7.1.ds-2 miscellaneous X clients

-- no debconf information


--- End Message ---
--- Begin Message ---
Source: sux
Source-Version: 1.0.1-5

We believe that the bug you reported is fixed in the latest version of
sux, which is due to be installed in the Debian FTP archive:

sux_1.0.1-5.diff.gz
  to pool/main/s/sux/sux_1.0.1-5.diff.gz
sux_1.0.1-5.dsc
  to pool/main/s/sux/sux_1.0.1-5.dsc
sux_1.0.1-5_all.deb
  to pool/main/s/sux/sux_1.0.1-5_all.deb
sux_1.0.1.orig.tar.gz
  to pool/main/s/sux/sux_1.0.1.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Meike Reichle <[EMAIL PROTECTED]> (supplier of updated sux package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Thu, 24 Jul 2008 21:44:55 +0200
Source: sux
Binary: sux
Architecture: source all
Version: 1.0.1-5
Distribution: unstable
Urgency: low
Maintainer: Meike Reichle <[EMAIL PROTECTED]>
Changed-By: Meike Reichle <[EMAIL PROTECTED]>
Description: 
 sux        - wrapper around su which will transfer your X credentials
Closes: 379963
Changes: 
 sux (1.0.1-5) unstable; urgency=low
 .
   * Fixed double execution of .bash_profile (Closes: #379963)
   * No longer built as native package
Checksums-Sha1: 
 30d357fa94e573f6778b470e7f447246d091e883 951 sux_1.0.1-5.dsc
 1c535f517779cd3fc6874d67bb01b36dcc3ddb5c 3973 sux_1.0.1.orig.tar.gz
 23b8e472b831670d453bc47a657d2fbde7de5f71 4355 sux_1.0.1-5.diff.gz
 f7dfd44b96f5e5a094d67cd59547d12b90504579 9278 sux_1.0.1-5_all.deb
Checksums-Sha256: 
 25474faeafe4653e89ae1bc457dddc03345bedb48509d2c369c642dca0e2c0dd 951 
sux_1.0.1-5.dsc
 1bf5b592aa6b8b6bff5a7cf7c5a3373e57058292d9305e89741265802990f9cf 3973 
sux_1.0.1.orig.tar.gz
 9b7de21a2f041ac898d5fc1c46fe20c956c6593cb8e02c50cecf7ff3dc16cbdc 4355 
sux_1.0.1-5.diff.gz
 685d0ddbe12c8a00267f9bdeb1fe7478b15761e145c440072fd911202240ea54 9278 
sux_1.0.1-5_all.deb
Files: 
 05e474456016d7c8ddd61d2d871d50e8 951 admin optional sux_1.0.1-5.dsc
 5bafe1b4a285e6b3c0365e751b8ab494 3973 admin optional sux_1.0.1.orig.tar.gz
 959585e1bf0a5c62c61722d85d999dce 4355 admin optional sux_1.0.1-5.diff.gz
 35a8ae2f9ff9fdf0343f3bddc6ddd899 9278 admin optional sux_1.0.1-5_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkiJloQACgkQuT3KDxRRCVuytgCcCXxRfu3F0EqhhEEOPN1bHOJu
mb0AmwWRsuiAFiLN6XfECYQ3H3ql1qVF
=5Uqd
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to