[Pkg-shadow-devel] Bug#411997: login: rbash and su - username

Michael Graham oobermick at gmail.com
Thu Feb 22 19:42:13 CET 2007


Package: login
Version: 1:4.0.18.1-6
Severity: normal

I have created a user with the shell /bin/rbash, when I log in to this
account rbash behaves as expected (can't change directory, can't run
commands starting with /), when I su to this account I again get the
expected rbash behaviour. However, when I do "su - username" the shell
no longer restricts the user in any way.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-486
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages login depends on:
ii  libc6                       2.3.6.ds1-11 GNU C Library: Shared
libraries
ii  libpam-modules              0.79-4       Pluggable Authentication
Modules f
ii  libpam-runtime              0.79-4       Runtime support for the PAM
librar
ii  libpam0g                    0.79-4       Pluggable Authentication
Modules l

login recommends no packages.

-- no debconf information

-- 
Michael Graham <oobermick at gmail.com>





More information about the Pkg-shadow-devel mailing list