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

/usr/bin/at and privileges


From: Magnus Eriksson <magetoo@xxxxxxxxxxx>
Date: Mon, 22 Aug 2005 03:49:45 +0200 (CEST)


Hello. 'at' doesn't seem to work as it should. (Yes, user is present in at.allow - at won't even run otherwise.)



# at 5:00 [ ^D ] Job 1 will be executed using /bin/sh # su user $ at 5:00 at: cannot open lockfile /var/at/jobs/.lockfile: Permission denied $

/var/at/jobs is owned by daemon.wheel, and 'at' is suid root.

Machine runs 1.3-Preview from 20th of June and hasn't been messed with except for installing pkgsrc packages.


On my NetBSD machine things look more or less exactly the same, except that /var/at/* is owned by root.wheel except daemon.wheel (which I suppose is irrelevant), and that everything works.


So, is at maybe dropping the suid privileges too early or something?


MAgnus





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