Hello,
I have problems su-ing to root while I'm running a user account,
I however CAN su to the user while I run root
the user is part of the following groups
wheel,users,portage,cdrom,floppy,cdrw,games,audio,video
when I log in as root:
wilco / # su wilco
wilco@wilco / $ su
Password:
su: Authentication failure
Sorry.
wilco@wilco / $ exit
exit
wilco / #
pam version: 0.77-r1
pam-login version: 3.14
shadow version: 4.0.4.1-r3
sudo version: 1.6.7_p5
I'm running the kernel 2.6.8-rc2-nitro3 under gentoo
ls -l /etc/group
-rw-r--r-- 1 root root 794 aug 30 18:27 /etc/group
my /etc/group:
root:x:0:root
bin:x:1:root,bin,daemon
daemon:x:2:root,bin,daemon
sys:x:3:root,bin,adm
adm:x:4:root,adm,daemon
tty:x:5:
disk:x:6:root,adm
lp:x:7:lp
mem:x:8:
kmem:x:9:
wheel::10:root,wilcje,wilco
floppy:x:11:root,wilco
mail:x:12:mail
news:x:13:news
uucp:x:14:uucp
man:x:15:man
cron:x:16:cron
console:x:17:
audio:x:18:wilco
cdrom:x:19:wilco
dialout:x:20:root
ftp:x:21:
sshd:x:22:
at:x:25:at
tape:x:26:root
video:x:27:root,wilco
squid:x:31:squid
gdm:x:32:gdm
xfs:x:33:xfs
games:x:35:wilco
named:x:40:named
mysql:x:60:
postgres:x:70:
cdrw:x:80:wilco
apache:x:81:
nut:x:84:
usb:x:85:
vpopmail:x:89:
users:x:100:games,wilcje,wilco
nofiles:x:200:
qmail:x:201:
postfix:x:207:
postdrop:x:208:
smmsp:x:209:smmsp
slocate:x:245:
portage:x:250
ortage,wilco
utmp:x:406:
nogroup:x:65533:
nobody:x:65534:
rpc:x:111:
ls -l /etc/shadow
-r-------- 1 root root 505 aug 30 17:23 /etc/shadow
my /etc/sudoers:
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
#
# Host alias specification
# User alias specification
# Cmnd alias specification
# Defaults specification
# User privilege specification
root ALL=(ALL) ALL
# Uncomment to allow people in group wheel to run all commands
wheel ALL=(ALL) ALL
# Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL
# Samples
# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users localhost=/sbin/shutdown -h now
I have read about every message on the gentoo forum, but cannot find a solution I also spent a lot of time finding answers on google...
I"m lost, please help me
(