WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Solved] No sound with RT kernel patch  (Read 4210 times)

Offline dag69

  • Newbie
  • *
  • Posts: 14
Re: No sound with RT kernel patch
« Reply #15 on: September 07, 2020, 08:10:45 AM »
Apparently there is no "PAM daemon", it's just supposed to work. I'm at a loss

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: No sound with RT kernel patch
« Reply #16 on: September 07, 2020, 07:53:59 PM »
Hi dag69
Not being familiar with PAM I had to do some digging.
Apparently there is no "PAM daemon", it's just supposed to work. I'm at a loss
Guess again:
Quote
The first thing to understand is that PAM is NOT something like tcpd (tcp wrappers) or xinetd that encloses and restricts access to some service. An application needs to be "PAM aware"; it needs to have been written and compiled specifically to use PAM. There are tremendous advantages in doing so, and most applications with any interest in security will be PAM aware.

Found here
https://www.aplawrence.com/Basics/understandingpam.html:

Offline dag69

  • Newbie
  • *
  • Posts: 14
Re: No sound with RT kernel patch
« Reply #17 on: September 08, 2020, 03:29:12 PM »
I ended up running "sudo -E program", with the -E flag retaining all the tc user environment variables while being able to run the program with root permissions. This is desirable behavior for me and I'm gonna call it solved

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: [Solved] No sound with RT kernel patch
« Reply #18 on: September 08, 2020, 04:56:48 PM »
Hi dag69
Marked as solved. :)