[vox-tech] ssh remote commands
I'm trying to set up remote access to the PC on my LAN which has the Rio MP3 player connected to it. Unfortunately, the command which talks to it, rio, requires root access. As an exercise in safety, I'd like to set up password-less access to the '/usr/bin/rio' command on that system via SSH. Unfortunately, I just noticed this in sshd's man page: command=command Specifies that the command is executed whenever this key is used for authentication. The command supplied by the user (if any) is ignored. ... ^^^ This means that I can't do anything like: ssh root@zen rio -d ssh root@zen rio -za ssh root@zen rio -u somefile.mp3 Now, I can set up 'sudo' to let particular users access the 'rio' command, but unfortunately, unless you've ran the command very recently (eg, in the last 5 minutes!), they're forced to enter their sudo'ing password. ie: ssh myself@zen sudo rio -d will ask me for 'myself's password. What's worse is, since this is via an 'ssh' command execution, when I type my password, it's echoed back! Looking at these issues, and the fact that one will need to be scp'ing files back and forth to the host with the Rio connected to it ANYWAY, I'm thinking ssh or ssh/sudo isn't going to be what I need. I guess I should look into riofs and see if I can do some sort of weird double remote mounting. Or somehting. :) -bill! ___ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] ssh remote commands
On Mon, Feb 18, 2002 at 03:19:43AM -0800, nbs wrote: snip Looking at these issues, and the fact that one will need to be scp'ing files back and forth to the host with the Rio connected to it ANYWAY, I'm thinking ssh or ssh/sudo isn't going to be what I need. I guess I should look into riofs and see if I can do some sort of weird double remote mounting. Or somehting. :) Bah! That won't work, either. :^( http://www.cs.stedwards.edu/~hazel/rio/ states: ... at the moment, riofs is read-only ... :^( Any other suggestions? (Henry's lpr idea was interesting, but I don't think it'll handle deleting stuff.) -bill! glad that USB and CF/SD cards are becoming more the norm, and bizarre printer port access to extremely proprietary flash file systems which break your SmartMedia to the point where you need to find a Windows box to run some odd reformatter so that you can continue to use the card in your digital camera... gasp are becoming less the norm ;) ___ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] ssh remote commands
On Mon, Feb 18, 2002 at 03:19:43AM -0800, nbs wrote: I'm trying to set up remote access to the PC on my LAN which has the Rio MP3 player connected to it. Unfortunately, the command which talks to it, rio, requires root access. As an exercise in safety, I'd like to set up password-less access to the '/usr/bin/rio' command on that system via SSH. Unfortunately, I just noticed Can you clear the SUID bit and add the device to fstab with user-mountable permissions? Maybe even use a chrooted mount-point? Just thinking out loud... -- BWAHAHAAHAHahhahahahaah. No, no, no, said the little chicken. -- gcc comment ___ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] ssh remote commands
On Mon, Feb 18, 2002 at 06:25:42AM -0800, Charles Polisher wrote: Can you clear the SUID bit and add the device to fstab with user-mountable permissions? Maybe even use a chrooted mount-point? Just thinking out loud... It doesn't access the rio via a /dev/ device. It accesses it _directly_. (It took me a while, some stracing, and finally some reading of the rio software homepage, to remember this.) :^/ -bill! ___ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech