<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ryan Hadley wrote:
<blockquote cite="mid4418DB68.70204@jocose.net" type="cite">
  <pre wrap="">The user also is required to have a valid shell and homedir.  Check 
/etc/passwd to make sure their shell isn't something like /usr/bin/nologin

-Ryan

<a class="moz-txt-link-abbreviated" href="mailto:mythtv@red2.braveturtle.com">mythtv@red2.braveturtle.com</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">That was a good thought, but unfortunately it did not solve my problem. 
According to /etc/shadow, the password for user "mythtv" was not locked.

Anyone else have an idea why when I try to login as "mythtv" it tells me
that the "the system administrator has disabled your account" and won't
let me log in?

Thanks,

Sean

On Wed, 15 Mar 2006 22:16:43 -0500, "Russell Brown" <a class="moz-txt-link-rfc2396E" href="mailto:rmbzzz@gmail.com">&lt;rmbzzz@gmail.com&gt;</a>
said:
  
    </pre>
    <blockquote type="cite">
      <pre wrap="">As root, examine the file /etc/shadow.
See if there is an exclamation point, !,
at the beginning of the gibberish that is the encrypted
password.

If there is, execute

 usermod -U mythtv

to unlock the account and
 man usermod
for more information.

If not, hope that someone else has a better answer.

    
      </pre>
      <blockquote type="cite">
        <pre wrap="">It recognizes that there is a "mythtv" user and allows me to set the
password.

However, when I try to login as "mythtv" it tells me that the "the
system administrator has disabled your account" and won't let me log in.

Can anyone help me and tell me what I am doing wrong?

Thanks a lot.

-Sean
_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a>

      
        </pre>
      </blockquote>
      <pre wrap="">--
Russell <a class="moz-txt-link-abbreviated" href="mailto:Brown--rmb@loebbrown.net">Brown--rmb@loebbrown.net</a>
_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a>
    
      </pre>
    </blockquote>
    <pre wrap="">_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a>
  
    </pre>
  </blockquote>
  <pre wrap=""><!---->
_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a>
  </pre>
</blockquote>
Write down the user and group id (the 2 numbers you see is
/etc/passwd).&nbsp; Delete the user (userdel mythtv) and Add the user back
(user -g &lt;gid&gt; -u &lt;uid&gt; mythtv) that should solve the
problem.&nbsp; Don't worry - userdel dies not delete any files or change
permissions.<br>
<br>
W<br>
</body>
</html>