[issue1467] Perm problems after a 2.2.1 -> HEAD transition

Stathis Kamperis (via DragonFly issue tracker) sinknull at leaf.dragonflybsd.org
Wed Aug 26 05:03:36 PDT 2009


New submission from Stathis Kamperis <ekamperi at gmail.com>:

Salute.

I did a fresh/clean install of a 2.2.1 dfly release and none of the problems I'm
going to describe were present. I, then, did a git pull to get the latest
sources from master, built kernel/world, installed kernel/world, did a make
upgrade and rebooted. And:

* I was unable to start X as normal user. The script kept dieing with:
  'Cannot move /var/log/Xorg.0.log to /var/log/Xorg.0.log'. The Xorg binary
  had the right ownership:group and its suid bit was set. I was able to run X
  as root.

* chsh failed when invoked as a normal user, with this:
  chsh: pw_tmp(): Permission denied. My /usr/bin/chsh has the right
  owenership:group and its suid bit was set. I was able to use chsh as root.

* passwd failed when invoked as a normal user, with this:
  passwd: pam_chauthtok(): error in service module
  passwd: in pam_sm_chauthok(): pw_tmp() failed
  My /usr/bin/passwd has the right owenership:group and its suid bit was set.
  I was able to use passwd as root.


ktrace'ing chsh or passwd with and without -i doesn't return anything relevant
at all. The last lines are:

 ktrace    CALL    execve(addr, addr, addr)
 ktrace    NAMI    "/usr/bin/passwd"
 ktrace    NAMI    "/usr/libexec/ld-elf.so.2"

Best regards,
Stathis

----------
messages: 7226
nosy: Beket
priority: critical
status: unread
title: Perm problems after a 2.2.1 -> HEAD transition

_____________________________________________________
DragonFly issue tracker <bugs at lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1467>
_____________________________________________________





More information about the Bugs mailing list