Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 235835 - 'su' command takes long time to proceed
Summary: 'su' command takes long time to proceed
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-26 19:55 UTC by Alejandro Diaz Caro
Modified: 2008-08-27 00:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alejandro Diaz Caro 2008-08-26 19:55:55 UTC
Each time I do su - it asks for my password and then it takes 20 seconds to give me the root access.

Reproducible: Always

Steps to Reproduce:
1. su -
2. write password and hit <Enter>

Actual Results:  
I have to wait 20 seconds before have the control again over the console

Expected Results:  
I expect to access to root inmediatly after I wrote the password

# emerge --info
Portage 2.1.4.4 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r7 x86_64 AMD Turion(tm) 64 X2 TL-60
Timestamp of tree: Tue, 26 Aug 2008 19:04:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -msse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -msse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.localhost.net.ar ftp://mirrors.localhost.net.ar/pub/mirrors/gentoo/ http://www.las.ic.unicamp.br/pub/gentoo/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/"
LANG="es_AR.utf8"
LC_ALL="es_AR.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="es_AR es_ES es"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac acl acpi alsa amd64 arts audiofile bash-completion berkdb bittorrent bluetooth branding bzip2 cairo cddb cdparanoia cdr cli cracklib crypt css cups dbus directfb djvu dri dvd dvdr dvdread emboss encode fbcon ffmpeg firefox flac flash foomaticdb fortran gdbm gif gimp gmail gphoto2 gpm gstreamer hal hddtemp iconv icq imagemagick imlib isdnlog jabber java6 javascript jpeg jpeg2k kde kdeenablefinal kerberos lame laptop latex ldap libnotify lm_sensors lzo mad midi mikmod mmx mng mp3 mpeg mplayer msn mudflap multilib ncurses networkmanager nforce2 nls nptl nptlonly nsplugin nvidia offensive ogg opengl openmp oss pam pcre pdf perl png postscript ppds pppd python qt3 qt3support quicktime readline reflection rss sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd tetex tiff truetype unicode usb v4l v4l2 vcd vim-syntax vnc vorbis wifi xml xorg xv xvid xvmc yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es_AR es_ES es" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Wormo (RETIRED) gentoo-dev 2008-08-26 21:48:24 UTC
Likely a pam issue... please tar up relevant config files 

cd /etc/pam.d ; tar -czf /tmp/pam.tgz su system*

and attach the tarball /tmp/pam.tgz to this bug
Comment 2 Alejandro Diaz Caro 2008-08-27 00:14:47 UTC
Thanks for your quickly reply. The problem was that, for some strange reason, the owner of my home directory was setted as root:root (I don't know how).