yes the user is a member of wheel; the permissions on /bin/su are: -rwsr-xr-x root rootand here is a part of /var/log/messages: Feb 28 17:50:22 loft306 via_audio: ignoring drain playback error -11 Feb 28 17:50:37 loft306 unix_chkpwd[2758]: check pass; user unknown Feb 28 17:50:37 loft306 su(pam_unix)[2757]: authentication failure; logname= uid=1000 euid=1000 tty=pts/0 ruser=taz rhost= user=root Feb 28 17:50:40 loft306 su[2757]: pam_authenticate: Authentication failure Feb 28 17:50:57 loft306 via_audio: ignoring drain playback error -11 Feb 28 17:50:57 loft306 kde(pam_unix)[2609]: session closed for user taz Feb 28 17:50:59 loft306 kdm_greet[2840]: Can't open default user face Feb 28 17:51:11 loft306 kde(pam_unix)[2838]: session opened for user tazzy by (uid=0) Feb 28 17:51:30 loft306 via_audio: ignoring drain playback error -11 Feb 28 17:51:30 loft306 via_audio: ignoring drain playback error -11 Feb 28 17:51:55 loft306 unix_chkpwd[3021]: check pass; user unknown Feb 28 17:51:55 loft306 su(pam_unix)[3020]: authentication failure; logname= uid=1001 euid=1001 tty=pts/0 ruser=tazzy rhost= user=root Feb 28 17:51:57 loft306 su[3020]: pam_authenticate: Authentication failure Feb 28 17:52:07 loft306 unix_chkpwd[3023]: check pass; user unknown Feb 28 17:52:07 loft306 su(pam_unix)[3022]: authentication failure; logname= uid=1001 euid=1001 tty=pts/0 ruser=tazzy rhost= user=root Feb 28 17:52:09 loft306 su[3022]: pam_authenticate: Authentication failure Feb 28 17:52:21 loft306 via_audio: ignoring drain playback error -11 Feb 28 17:52:21 loft306 kde(pam_unix)[2838]: session closed for user tazzy Feb 28 17:52:23 loft306 kdm_greet[3103]: Can't open default user face Feb 28 17:52:34 loft306 kde(pam_unix)[3101]: session opened for user root by (uid=0) Feb 28 17:52:36 loft306 via_audio: ignoring drain playback error -11 if u need anything more please ask
did you try to type the password of your current accout and root ?
i dont understand the question........or would the ansawer be why would i do that? i type: su or su root or su username hit return then type the aproprate password for who i want to switch to then i hit return and get this:Authentication failed sorry.
also the only way that i can go root is to log in as root. also this happens in x and not in x also this instalation is 2 days old and the problem developed before i installed kde, though i did not reconize it as such at that time.
just try the passwort of your current account when doing #su
oh and my buddy tells me u have a new v of gen kernel on the server and the old one was bad...could that of borked me all up ...eventhough we removed the genkernel kernel and unmerged genkernel and built a kern manualy from genkernel-sources...just thought i'd ask
current user pw do anything same error
current user pw didnt do anything same error
in #5 that would be gentoo-sources
include the output of 'id taz', 'id tazzy' from a NEW session (eg logged out and then in again).
taz Mar 2 00:16:05 loft306 kdm_greet[2235]: Can't open default user face Mar 2 00:16:16 loft306 kde(pam_unix)[2233]: session opened for user taz by (uid=0) Mar 2 00:16:18 loft306 via_audio: ignoring drain playback error -11 Mar 2 00:16:18 loft306 via_audio: ignoring drain playback error -11 Mar 2 00:17:28 loft306 via_audio: ignoring drain playback error -11 Mar 2 00:25:40 loft306 via_audio: ignoring drain playback error -11 Mar 2 00:25:40 loft306 kde(pam_unix)[2233]: session closed for user taz tazzy Mar 2 00:30:17 loft306 kdm_greet[2596]: Can't open default user face Mar 2 00:30:28 loft306 kde(pam_unix)[2592]: session opened for user tazzy by (uid=0) Mar 2 00:30:30 loft306 via_audio: ignoring drain playback error -11 Mar 2 00:30:30 loft306 via_audio: ignoring drain playback error -11 Mar 2 00:30:59 loft306 via_audio: ignoring drain playback error -11 Mar 2 00:30:59 loft306 kde(pam_unix)[2592]: session closed for user tazzy I also have an ltraco with the '-p' option if u want.
the ltrace is of the su'ing
please include the output I requested.
Also another place that the passwords dont work at is if i lock the screen as a user... then i cant get back in...however if i do it as root then i can get back in.
where do i find what you requested?
just run 'id taz' and 'id tazzy' and include the output. it's best to do this at a NEW login (looping back via ssh to your machine is fine).
bash-2.05b$ id taz uid=1000(taz) gid=100(users) groups=100(users),10(wheel),18(audio),250(portage) bash-2.05b$ id tazzy uid=1001(tazzy) gid=100(users) groups=100(users),10(wheel),18(audio) bash-2.05b$
looking in your logfile, this line is not familiar to me (I don't have it in any logs on my boxen) "unix_chkpwd[3021]: check pass; user unknown" could you include the output of 'qpkg -f /sbin/unix_chkpwd -v' please?
bash-2.05b$ 'qpkg -f /sbin/unix_chkpwd -v' bash: qpkg -f /sbin/unix_chkpwd -v: No such file or directory bash-2.05b$ qpkg -f /sbin/unix_chkpwd -v bash: qpkg: command not found
bash-2.05b$ ls -l /sbin/unix_chkpwd -r-sr-xr-x 1 root root 19000 Nov 28 11:19 /sbin/unix_chkpwd bash-2.05b$
wait i think i have to emerge the gentoolkit?????????????/
bash-2.05b$ qpkg -f /sbin/unix_chkpwd -v sys-libs/pam-0.77 * bash-2.05b$
fixed i reininstalled