• 0 Posts
  • 33 Comments
Joined 3 years ago
cake
Cake day: June 21st, 2023

help-circle
  • Hawke@lemmy.worldtoLinux@lemmy.ml*Permanently Deleted*
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    1 month ago

    As someone who uses Windows for work and Linux for pleasure: one of the cons of Linux is the lack of integrated ubiquitous file sharing via SMB and UNC paths. Being able to “cd \\server\c$” and expect that to work with 99% of programs made in the last two decades, is pretty great.

    “Hardcode a few pre-selected paths and their credentials in /etc/fstab” just doesn’t cut it. Neither does autofs.

















  • I can’t find anything that quite fits your requirements.

    Putting a NOPASSWD option on your sudo config should cover the removal of the password requirement, but this may be ill -advised; it is probably wiser to increase the timestamp_timeout duration.

    The intentional delay is tougher, and for that it looks like you’d need to write a PAM module. pam_faildelay is very close to what you need, you’d just need to make it produce a delay on success as well as failure.