View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 7 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun May 27, 2007 11:18 am 
Offline
Joined: Wed May 09, 2007 8:47 pm
Posts: 367
Location: Minnesota- Brrrrr!
I am using Putty and trying to logon as 'mythtv'. As it was unsuccesful I changed the password :

Code:
passwd mythtv


in order to ensure that I entered the right password. As you may have guessed, this did not work either. Is the 'mythtv' user a special case that can not be changed?

_________________
R7.3: 0.22.20091023-1, Hauppauge PVR-500 (Philips FQ1236A MK4), Gigabyte Gigabyte EG45M-UD2H, E5200 2.4Ghz, 2GB RAM, NVIDIA GEFORCE 256MB


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 27, 2007 11:27 am 
Offline
Joined: Mon Apr 04, 2005 10:50 am
Posts: 120
For security reasons, both root and mythtv users have been disabled for ssh which means they could probably could be re-enabled, but shouldn't. The simplest approach is to use the additional user you created when you install KM. It is unique to you and more difficult for others to hack.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 27, 2007 12:40 pm 
Offline
Joined: Wed May 09, 2007 8:47 pm
Posts: 367
Location: Minnesota- Brrrrr!
Thank you for the explanation. I will avoid using the mythtv logon for ssh.

Is there a way to logon as someone else, like su -?

_________________
R7.3: 0.22.20091023-1, Hauppauge PVR-500 (Philips FQ1236A MK4), Gigabyte Gigabyte EG45M-UD2H, E5200 2.4Ghz, 2GB RAM, NVIDIA GEFORCE 256MB


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 27, 2007 1:13 pm 
Offline
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location: Philadelphia, PA US
gatorback wrote:
Thank you for the explanation. I will avoid using the mythtv logon for ssh.

Is there a way to logon as someone else, like su -?


After you login with another user

Code:
login mythtv


or

Code:
su
to login as root.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 27, 2007 3:38 pm 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
After I have logged in as another user I tried:
Code:
login mythtv
However I got this:
Code:
No utmp entry.  You must exec "login" from the lowest level "sh"


Any ideas?

Thanks,
Britney


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 27, 2007 3:45 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Code:
su - mythtv

BTW - I always recommend using the "-" with su since it avoids silly environment problems. Thus to become root from another user:
Code:
su -

This is one of the dozens of things that I learned at sysadmin boot camp 20-some years back which have stuck with me ever since and saved me endless grief.

BTW - If you've installed R5F1 and you haven't read the hints & hazards posting doing so is highly recommended. It can save you a huge amount of frustration and annoyance. For example this is coverd there as Known Change 6.1...


Last edited by tjc on Sun May 27, 2007 3:49 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 27, 2007 3:48 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
brfransen wrote:
After I have logged in as another user I tried:
Code:
login mythtv
However I got this:
Code:
No utmp entry.  You must exec "login" from the lowest level "sh"


Any ideas?

Thanks,
Britney
You've already logged in and initiated a shell. If you want to change users, either logout and login as that user, or use su <username>. In your example above, su mythtv

To be sure you're completely using the user's environment, use su - mythtv

EDIT: What tjc said... :wink: /EDIT


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 2 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:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu