neviem sa prihlasit

Sekcia: Ostatné 28.09.2006 | 04:05
Avatar Oliver Kišš Ubuntu, Slax  Používateľ
dnes rano som dal nieco tahat a nemal som cas, tak som dal shutdown -h -time +30 a siel som do skoly. samozrejme sa nasiel chytrak ktory vypol pc a teraz sa don neviem prihlasit. ked sa chcem prihlasit, napise ze system sa ma vypnut dnes o siedmej rano (uz je poobede) a ze login incorrect a heslo nepyta. ked sa skusim prihlasit ako root tak vypita aj heslo takze by to mohlo ist ale pouzivam ubuntu a root nema heslo pomozte plz
    • Re: neviem sa prihlasit 27.09.2006 | 18:41
      Avatar Oliver Kišš Ubuntu, Slax  Používateľ
      skusil som v biose nastavit cas na asi 5 minut pred siedmou, zapnut pc a pockat kym sa vypne aby som ho zapol a normalne sa prihlasil ale nepomohlo. prosim poradte co s tym
    • Re: neviem sa prihlasit 27.09.2006 | 19:18
      Avatar marián Fedora,Vector,Slack  Používateľ
      ak root nema heslo /kua preco nema ubuntu heslo na roota?? / tak mu ho nedam a stacim enter
      • Re: Re: neviem sa prihlasit 27.09.2006 | 19:21
        Avatar Oliver Kišš Ubuntu, Slax  Používateľ
        to som skusal, nejde to
        • Re: Re: Re: neviem sa prihlasit 27.09.2006 | 19:33
          Avatar marián Fedora,Vector,Slack  Používateľ
          tak potom heslo na roota mas :)
          • Re: Re: Re: Re: neviem sa prihlasit 27.09.2006 | 19:40
            Avatar Oliver Kišš Ubuntu, Slax  Používateľ
            takto vyzera z tc moj /etc/shadow: root:*:13322:0:99999:7::: daemon:*:13322:0:99999:7::: bin:*:13322:0:99999:7::: sys:*:13322:0:99999:7::: sync:*:13322:0:99999:7::: games:*:13322:0:99999:7::: man:*:13322:0:99999:7::: lp:*:13322:0:99999:7::: mail:*:13322:0:99999:7::: news:*:13322:0:99999:7::: uucp:*:13322:0:99999:7::: proxy:*:13322:0:99999:7::: www-data:*:13322:0:99999:7::: backup:*:13322:0:99999:7::: list:*:13322:0:99999:7::: irc:*:13322:0:99999:7::: gnats:*:13322:0:99999:7::: nobody:*:13322:0:99999:7::: postfix:!:13322:0:99999:7::: syslog:!:13322:0:99999:7::: klog:!:13322:0:99999:7::: oliver:$1$deCb9xil$FtDJCr5L.CTY3ny6s6AUm/:13322:0:99999:7::: messagebus:!:13322:0:99999:7::: cupsys:!:13322:0:99999:7::: fetchmail:!:13322:0:99999:7::: hal:!:13322:0:99999:7::: saned:!:13322:0:99999:7::: gdm:!:13322:0:99999:7::: filip:$1$QYLf0iF7$aOIjvBvTJKaqKaoFePXwH1:13322:0:99999:7::: mysql:!:13322:0:99999:7::: dhcp:!:13322:0:99999:7::: hplip:!:13322:0:99999:7::: haldaemon:!:13322:0:99999:7:::
            • Re: Re: Re: Re: Re: neviem sa prihlasit 27.09.2006 | 19:56
              Avatar Oliver Kišš Ubuntu, Slax  Používateľ
              trochu som googlil o tom /etc/shadow subor a nasiel som toto: The ``/etc/shadow'' file contains password and account expiration information for users, and looks like this: smithj:Ep6mckrOLChF.:10063:0:99999:7::: As with the passwd file, each field in the shadow file is also separated with ":" colon characters, and are as follows: * Username, up to 8 characters. Case-sensitive, usually all lowercase. A direct match to the username in the /etc/passwd file. * Password, 13 character encrypted. A blank entry (eg. ::) indicates a password is not required to log in (usually a bad idea), and a ``*'' entry (eg. :*:) indicates the account has been disabled. * The number of days (since January 1, 1970) since the password was last changed. * The number of days before password may be changed (0 indicates it may be changed at any time) * The number of days after which password must be changed (99999 indicates user can keep his or her password unchanged for many, many years) * The number of days to warn user of an expiring password (7 for a full week) * The number of days after password expires that account is disabled * The number of days since January 1, 1970 that an account has been disabled * A reserved field for possible future use co keby som z total commandera rucne upravil /etc/shadow tak aby root nevyzadoval heslo (alebo keby som dal rootovi to iste heslo ake mam ja)?
              • Re: Re: Re: Re: Re: Re: neviem sa prihlasit 27.09.2006 | 20:04
                Avatar marián Fedora,Vector,Slack  Používateľ
                no pohraj sa s tym, ale silne odporucam vyhodit tu hviezdicku pri rootovi
                • Re: Re: Re: Re: Re: Re: Re: neviem sa prihlasit 27.09.2006 | 20:26
                  Avatar Oliver Kišš Ubuntu, Slax  Používateľ
                  no skusil som odstranit tu hviezdicku, restartol som do ubuntu, root ale nesiel ani tak prihlasit. nevypisovalo to ale uz tu spravu o vypnuti systemu, tak som sa skusil normalne prihlasit za seba a slo to. potom som zistoval preco ten root nesiel, pozrel som /etc/shadow a ta hviezdicka tam stale bola. neviem preco to neulozilo. ale to je jedno, hlavne ze to uz ide
                  • Re: Re: Re: Re: Re: Re: Re: Re: neviem sa prihlasi 28.09.2006 | 04:05
                    WlaSaTy   Návštevník
                    uz ti ide aj sudo na root-a? obcas sa stane ze sa nejake konto zablokuje na chvilu ale este som nepocul o tom ze by sa niekomu podarilo zablokovat zlym prihlasenim root-a ... inac filip by si mal asi zmenit heslo, john mi ho nasiel radovo v sekundach :-)