[PATCH 1/1] su: Add a delay if the password is incorrect
Mike Frysinger
vapier at gentoo.org
Sun Mar 23 22:08:27 UTC 2014
On Sun 16 Mar 2014 08:21:02 Laurent Bercot wrote:
> On 16/03/2014 03:06, Rich Felker wrote:
> > /tmp is not suitable for this; you can never assume the ability to
> > create a fixed-name file in /tmp, since the namespace of /tmp is
> > shared on a first-come, first-served basis. Any programs using /tmp
> > except for creating randomly-named files there are buggy.
>
> Hm, indeed. Unix/FHS/whatever lacks a guaranteed writable and
> boot-time-available directory just for root.
> / is not guaranteed writable, and should not be.
> /var/* is not guaranteed available at boot time.
> /tmp is not reserved to root.
> I have such a directory on my systems (/mnt/tmpfs, 0755, with /tmp
> actually being a symlink to /mnt/tmpfs/tmp, 1777). Some distributions
> use an initramfs and create /lib/rw (ugh). Unfortunately, nothing is
> standardized... Maybe we could use /dev ? Ha ha, only serious.
this is why Linux distros introduced /run in place of /var/run
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20140323/a546a6c1/attachment.asc>
More information about the busybox
mailing list