Re: [LAU] Trying to run jackd from udev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-user@...>
Date: Saturday, March 23, 2013 - 5:49 am

On Fri, 2013-03-22 at 23:51 +0100, Jeremy Jongepier wrote:

I noticed that when checking the user by $USER or $EUID, the result
often is wrong, but the output of $(id -u) until now always was correct,
so directly after the sudo I would add

echo $? > id.log
id -u >> id.log

to the script. The $? to check if sudo is working and id -u to check if
it really does switch the user, assumed the output of $? should be 0.

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] Trying to run jackd from udev, Jeremy Jongepier, (Fri Mar 22, 10:51 pm)
Re: [LAU] Trying to run jackd from udev, Jeremy Jongepier, (Sun Mar 31, 9:05 pm)
Re: [LAU] Trying to run jackd from udev, tweed, (Sat Apr 6, 5:09 am)
Re: [LAU] Trying to run jackd from udev, Jeremy Jongepier, (Sun Apr 14, 12:52 pm)
Re: [LAU] Trying to run jackd from udev, Raphaƫl BOLLEN, (Sat Mar 23, 1:42 pm)
Re: [LAU] Trying to run jackd from udev, Len Ovens, (Sat Mar 23, 3:43 pm)
Re: [LAU] Trying to run jackd from udev, R. Mattes, (Sat Mar 23, 4:05 pm)
Re: [LAU] Trying to run jackd from udev, Jeremy Jongepier, (Sun Mar 24, 1:08 pm)
Re: [LAU] Trying to run jackd from udev, Ralf Mardorf, (Sat Mar 23, 5:49 am)
Re: [LAU] Trying to run jackd from udev, Ralf Mardorf, (Sat Mar 23, 6:48 am)
Re: [LAU] Trying to run jackd from udev, Jeremy Jongepier, (Sat Mar 23, 8:11 am)
Re: [LAU] Trying to run jackd from udev, Ralf Mardorf, (Sat Mar 23, 10:29 am)
Re: [LAU] Trying to run jackd from udev, Jeremy Jongepier, (Sat Mar 23, 12:39 pm)
Re: [LAU] Trying to run jackd from udev, Len Ovens, (Sat Mar 23, 3:30 pm)
Re: [LAU] Trying to run jackd from udev, Ralf Mardorf, (Sat Mar 23, 1:02 pm)
Re: [LAU] Trying to run jackd from udev, Jeremy Jongepier, (Sat Mar 23, 1:18 pm)
Re: [LAU] Trying to run jackd from udev, Ralf Mardorf, (Sat Mar 23, 10:38 am)
Re: [LAU] Trying to run jackd from udev, Ralf Mardorf, (Sat Mar 23, 9:48 am)
Re: [LAU] Trying to run jackd from udev, David, (Sat Mar 23, 4:44 am)
Re: [LAU] Trying to run jackd from udev, Jeremy Jongepier, (Sat Mar 23, 8:10 am)