User Tools

Site Tools


linux:slack_9notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:slack_9notes [2025/01/12 10:09] – created azmanlinux:slack_9notes [2025/01/12 10:23] (current) – [Multicast DNS @ Zeroconf] azman
Line 4: Line 4:
  
 **20210620** Slackware's CPU frequency scaling works (checkout ''rc.cpufreq'') - just to remind myself, no need to look into this! **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''.<code>
 +%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
 +</code>
 +
 +//**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.1736647769.txt.gz · Last modified: by azman