I am using Mandrake 7.2 and when I login with KDE 2 under root, the sound
works just fine. But if I login under my normal user, there is no sound at
all. How can I get my sound to work for all users? Thanks for any help.
or for security conscious:
I have a hacked up version of rsh based on inetutils-1.4.2 which accepts
a list of hosts and runs the same command on each of them
(sequentially). In other words, it does this in a loop:
rem = rcmd (&host, sp->s_port, pw->pw_name, user, args, &rfd2);
where the host part changes but the other parts don't. This is so
that I can do:
rsh host1,host2,host3 whatever
rsh -f list_of_hosts whatever
rsh host1 whatever
rsh host2 whatever
rsh host3 whatever
Now the odd part: this modified rsh works just fine for root but for any
other user the rcmd call works once (for the first host) and
then gives a
rcmd: socket: Permission denied
when it attempts a second rcmd call. This is true even if host in
the second rcmd is the same as it was in the first rcmd.
Yes, the modified rsh is suid root, otherwise it wouldn't
even do the first rcmd call.
I tried adding
so that the socket would be closed the second time around but it
made no difference.
Additionally, the exact same behavior is observed when rsh runs
on Mandrake 10.0 or Solaris 8. It seems to be intrinsic somehow
Can somebody please explain what is going on here???