LinHES Forums
http://forums.linhes.org/

'mythtv' user logon though Putty
http://forums.linhes.org/viewtopic.php?f=5&t=15385
Page 1 of 1

Author:  gatorback [ Sun May 27, 2007 11:18 am ]
Post subject:  'mythtv' user logon though Putty

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?

Author:  tkoster [ Sun May 27, 2007 11:27 am ]
Post subject: 

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.

Author:  gatorback [ Sun May 27, 2007 12:40 pm ]
Post subject: 

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 -?

Author:  spalVl [ Sun May 27, 2007 1:13 pm ]
Post subject: 

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.

Author:  brfransen [ Sun May 27, 2007 3:38 pm ]
Post subject: 

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

Author:  tjc [ Sun May 27, 2007 3:45 pm ]
Post subject: 

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...

Author:  slowtolearn [ Sun May 27, 2007 3:48 pm ]
Post subject: 

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

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/