User Tools

Site Tools


linux:slack_9notes

Extra Notes

Some things to note…

20210620 Slackware's CPU frequency scaling works (checkout rc.cpufreq) - just to remind myself, no need to look into this!

Admin-stuff for non-root user

To allow non-root users basic admin (poweroff,reboot,etc.), add them to power group and insert the following to sudoers.

%power ALL=(ALL) NOPASSWD:/sbin/poweroff
%power ALL=(ALL) NOPASSWD:/sbin/reboot
%power ALL=(ALL) NOPASSWD:/usr/sbin/pm-suspend
%power ALL=(ALL) NOPASSWD:/usr/sbin/pm-hibernate
%power ALL=(ALL) NOPASSWD:/usr/sbin/pm-powersave

Note: The pm-* binaries (pm-utils) are no longer available on Slackware 15.0

Note20250112: use loginctl on Slackware 15.0 - no need to add sudoers

Multicast DNS @ Zeroconf

  • install nss-mdns (requires avahi, which requires libdaemon)
  • save nss config (in etc)
    • mv nsswitch.conf nsswitch.conf-orig
  • use provided nss config
    • cp nsswitch.conf-mdns nsswitch.conf
  • run daemon at startup rc.avahidaemon and rc.avahidnsconfd
linux/slack_9notes.txt · Last modified: by azman