Gentoo Archives: gentoo-user

From: Kris Kerwin <kkerwin@×××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Authentication Issues
Date: Wed, 02 Aug 2006 18:17:45
Message-Id: 200608020110.01114.kkerwin@insightbb.com
1 Hi all,
2
3 I just performed a new Gentoo install, and am having a couple of issues
4 regarding authentication. I think that the problem is something to do with
5 PAM/Shadow. (No ... it's not the blocking issue between pam-login and
6 shadow).
7
8 I run a single user system with just users for myself (username: kris) and
9 root. I cannot su into the root account from my personal account. I have
10 added kris to the group wheel using the `gpasswd -a kris wheel', but still
11 cannot su. I verified that kris is in the wheel group by logging in and
12 trying the `groups' command.
13
14 Then, I tried editing `/etc/pam.d/su' and commenting out the line `auth
15 required pam_wheel.so use_uid', as the comment above it states that doing so
16 will allow users who are not in the wheel group to su. Still, no joy. Other
17 comments in that file state that you may give explicit rights to specific
18 users by creating the file `/etc/security/suauth.allow' with each allowed
19 user on their own line. Still, no joy.
20
21 On a (possibly) related note: while trying to switch from a graphical login to
22 a virtual console to work on some of these problems, I found that the usual
23 Ctrl-Alt-F* incantation did not work. The only way to switch to a virtual
24 console was to right click on the desktop and go through the `Switch User'
25 menu function on KDE. Further, when switching back to the graphical login
26 from the console, I found that the screensaver had come on and had locked the
27 desktop (though this was disabled within KDE's configuration). The big
28 problem, however, came when I could not unlock the screensaver with my
29 password.
30
31 Also, kris' attempts to change his passwd are met with the error:
32 `Authentication token manipulation error'.
33
34 Thanks in advance for all of your help. System information is appended below.
35
36 Kris Kerwin
37
38
39
40 ========== System Info ==========
41
42 I run `pam-0.78-r3 USE=berkdb' and `shadow-4.0.15-r2 USE=nls pam' on the
43 following system:
44
45 Portage 2.1-r1 (!/usr/portage/profiles/default-linux/x86/2006.0, gcc-3.4.6,
46 glibc-2.3.6-r4, 2.6.16-suspend2-r8 i686)
47 =================================================================
48 System uname: 2.6.16-suspend2-r8 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
49 Gentoo Base System version 1.6.15
50 app-admin/eselect-compiler: [Not Present]
51 dev-lang/python: 2.4.3-r1
52 dev-python/pycrypto: 2.0.1-r5
53 dev-util/ccache: [Not Present]
54 dev-util/confcache: [Not Present]
55 sys-apps/sandbox: 1.2.17
56 sys-devel/autoconf: 2.13, 2.59-r7
57 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
58 sys-devel/binutils: 2.16.1-r3
59 sys-devel/gcc-config: 1.3.13-r3
60 sys-devel/libtool: 1.5.22
61 virtual/os-headers: 2.6.11-r2
62 ACCEPT_KEYWORDS="x86"
63 AUTOCLEAN="yes"
64 CBUILD="i686-pc-linux-gnu"
65 CFLAGS="-march=pentium4 -O3 -pipe"
66 CHOST="i686-pc-linux-gnu"
67 CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
68 CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
69 CXXFLAGS="-O2 -mcpu=i686 -pipe"
70 DISTDIR="/usr/portage/distfiles"
71 FEATURES="autoconfig ccache cvs distlocks fixpackages metadata-transfer
72 notitles sandbox sfperms strict userpriv"
73 GENTOO_MIRRORS="http://distfiles.gentoo.org
74 http://distro.ibiblio.org/pub/linux/distributions/gentoo"
75 MAKEOPTS="-j3"
76 PKGDIR="/usr/portage/packages"
77 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
78 PORTAGE_TMPDIR="/tmp/build"
79 PORTDIR="/usr/target/ports"
80 SYNC="rsync://rsync.gentoo.org/gentoo-portage"
81 USE="x86 X acpi adns aim alsa apache2 apm arts artswrappersuid asm audiofile
82 avi berkdb bitmap-fonts bzip2 cddb cdparanoia cli crypt cups dga divx4linux
83 dlloader doc dri dvb dvd dvdr dvdread eds emboss encode esd ethereal f77
84 font-server foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 heimdal
85 icq imlib ipv6 isdnlog jabber java javascript jikes joystick jpeg kde
86 kerberos koffice-plugin libg++ libwww mad mikmod mime motif mp3 mpeg mplayer
87 msn ncurses nls nocd nptl offensive ogg opengl oscar oss pam pcre pda pdflib
88 perl png posix pppd python qt qt3 qt4 quicktime readline real reflection sdl
89 session smime spell spl sse ssl svg tcpd truetype truetype-fonts type1-fonts
90 udev unicode usb videos vorbis wmf xine xinerama xml xmms xorg xscreensaver
91 xv yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse
92 input_devices_evdev kernel_linux userland_GNU video_cards_radeon"
93 Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
94 LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
95 --
96 gentoo-user@g.o mailing list

Replies

Subject Author
[SOLVED] Re: [gentoo-user] Authentication Issues Kris Kerwin <kkerwin@×××××××××.com>