View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Dec 18, 2009 9:41 pm 
Offline
Joined: Wed Aug 23, 2006 3:07 pm
Posts: 339
I just installed R5.5.

I figured out, after a reinstall, that you can't remotely login as root. Fun. Unfortunately, I don't know how to upload videos/shows from my windows box to the new mythtv box now.

I used R5.0 previously *IIRC* and it let me login remotely as root. I'd use Tunneler to connect, and just upload my videos.

Now, I can't seem to do it. I KNOW there has to be a way to do it. I even tried chmod 777 on the /mythtv/video/motion folder. That worked but still won't let me upload videos.

Been searching for the answer for the last two hours and it's driving me bonkers.

Any ideas?

-------------------------
Sort of solved. Finally figured out that I can close the sftp window in Tunneler, use su in the opened terminal window, and then open a new sftp window with the priviledges I need.

I just don't know how to automatically do this with tunneler in one step, or set the mythbox to just let my regular user login be able to upload.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 19, 2009 12:57 am 
Offline
Joined: Mon Feb 20, 2006 1:47 am
Posts: 31
I'm 99% sure what your problem is, but let me give you a few more non-root options first.

In my machine's mythtv directory, I have the videos permissions like this:

drwxrwsr-x 3 mythtv mythtv 4096 2009-12-17 00:29 videos

Then I added my normal non-root user to the mythtv group (man adduser), and I can write files there. WinSCP is an alternative program you can try in Windows for sftp copying.

Another option is to set up Samba and share that folder out to Windows. Setting up Samba can be tricky, though.

Finally, your most likely culprit is in /etc/ssh/sshd_config
There's a line in there:

PermitRootLogin no

I'd recommend leaving it that way for a more secure machine, but changing it to yes will probably restore your old behavior. Might need to restart sshd after making the change.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 19, 2009 1:21 am 
Offline
Joined: Wed Aug 23, 2006 3:07 pm
Posts: 339
Speed_D wrote:
I'm 99% sure what your problem is, but let me give you a few more non-root options first.

In my machine's mythtv directory, I have the videos permissions like this:

drwxrwsr-x 3 mythtv mythtv 4096 2009-12-17 00:29 videos

Then I added my normal non-root user to the mythtv group (man adduser), and I can write files there. WinSCP is an alternative program you can try in Windows for sftp copying.

Another option is to set up Samba and share that folder out to Windows. Setting up Samba can be tricky, though.

Finally, your most likely culprit is in /etc/ssh/sshd_config
There's a line in there:

PermitRootLogin no

I'd recommend leaving it that way for a more secure machine, but changing it to yes will probably restore your old behavior. Might need to restart sshd after making the change.


Ah, much thanks. I've got a very restricted network, so I don't really need to secure my mythtv box. Not too worried about someone getting into my network, especially just to access the mythbox.

Adding to the mythtv group is probably best though. I'm just surprised it didn't automatically do that when I ran the default install. I might have missed a step in the setup though. Not sure I went through the add storage groups, now that I think of it.

I may play with Samba later, but sftp works fine for me (until today anyway)

Thanks again.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu