DragonFly bugs List (threaded) for 2009-08
DragonFly BSD
DragonFly bugs List (threaded) for 2009-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: "Stathis Kamperis \(via DragonFly issue tracker\)" <sinknull@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 26 Aug 2009 12:03:16 +0000

New submission from Stathis Kamperis <ekamperi@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@lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1467>
_____________________________________________________



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]