Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Root password no longer accepted except for SDDM login manager

  1. #1

    Default Root password no longer accepted except for SDDM login manager

    Root Password does not work except with the SDDM Login Manager - Package i installed and what i idd to get my OS working again:




    Im using opensuse tumbleweed
    I when to Yast2 > to install NIS
    yast told me that the NIS package was not available
    So i downloaded a .RPM of it instead ans installed that
    It added 3 extra repositorys - one of which is for Devs
    My system then had problems boot up after that and also would not shut down properly
    because i use the btrfs FS, i decided to copy over ALL the previous days OS's root folders from one of my btrfs snapper snapshot backups - as a sort of 'go back in time' procedure
    This worked
    However, i have this root password issue

    I found some useful sutff via google:

    journalctl -b -f

    leave it running and try to authenticate, it should print info from polkit about what went wrong.

    Authenticate = mean to type in your admin password
    Then review the messages in terminal

    "Does rebooting help?

    Have you manually changed the pam configuration?

    I'm not at all sure here. However, my experience suggests that these requests from policy-kit depend on the systemd user agent. Presumably the user agent communicates with the main systemd process.
    If an update restarts the main systemd process, that breaks the communication and it might not work properly until reboot. And if the systemd entry is removed from the pam configuration, that also breaks the communication."




    Repositorys that i removed that were added by the NIX package

    Home:munix9
    home:beyerle:IAC
    devel:tools:ide



    https://forums.opensuse.org/showthre...d-not-accepted

    Check the system journal; run this command as root in terminal:
    Code:

    journalctl -b -f

    leave it running and try to authenticate, it should print info from polkit about what went wrong.

    Authenticate = mean to type in your admin password
    Then review the messages in terminal

    "Does rebooting help?

    Have you manually changed the pam configuration?

    I'm not at all sure here. However, my experience suggests that these requests from policy-kit depend on the systemd user agent. Presumably the user agent communicates with the main systemd process.
    If an update restarts the main systemd process, that breaks the communication and it might not work properly until reboot. And if the systemd entry is removed from the pam configuration, that also breaks the communication."




    TERMINAL OUTPUT:

    Aug 15 09:22:01 IntelPC su[6632]: The gnome keyring socket is not owned with the same credentials as the user login: /run/user/1000/keyring/control
    Aug 15 09:22:01 IntelPC su[6632]: gkr-pam: couldn't unlock the login keyring.
    Aug 15 09:22:01 IntelPC unix_chkpwd[6633]: check pass; user unknown
    Aug 15 09:22:01 IntelPC unix_chkpwd[6633]: password check failed for user (root)
    Aug 15 09:22:01 IntelPC su[6632]: pam_unix(su:auth): authentication failure; logname= uid=1000 euid=1000 tty=/dev/pts/3 ruser=starman rhost= user=root



    Do i need to re-install tumbleweed OS again from scratch ?

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    31,776

    Default Re: Root password no longer accepted except for SDDM login manager

    I am not sure I understand all of this, but NIS is available in the standard OSS repo.

    The client was even installed at installation "automatic" on my system (packages yp-tools and a YaST module yast2-nis-clinet).

    Server pacxkages I see: ypserv and yast2-nis-server.

    And for the rest you are not providing real information. Saying things like "So i downloaded a .RPM of it instead ans installed that" is not telling us much. Which RPM, from where, how did you install?

    PLease show at least one example where your root password is not accepted.

    And BTW, you should NEVER use root for a graphical login.

    And please, please:

    There is an important, but not easy to find feature on the forums.

    Please in the future use CODE tags around copied/pasted computer text in a post. It is the # button in the tool bar of the post editor. When applicable copy/paste complete, that is including the prompt, the command, the output and the next prompt.

    An example is here: Using CODE tags Around your paste.
    Last edited by hcvv; 15-Aug-2022 at 23:49.
    Henk van Velden

  3. #3

    Default Re: Root password no longer accepted except for SDDM login manager

    Quote Originally Posted by hcvv View Post
    I am not sure I understand all of this, but NIS is available in the standard OSS repo.

    The client was even installed at installation "automatic" on my system (packages yp-tools and a YaST module yast2-nis-clinet).

    Server pacxkages I see: ypserv and yast2-nis-server.

    And for the rest you are not providing real information. Saying things like "So i downloaded a .RPM of it instead ans installed that" is not telling us much. Which RPM, from where, how did you install?

    PLease show at least one example where your root password is not accepted.

    And BTW, you should NEVER use root for a graphical login.

    And please, please:

    There is an important, but not easy to find feature on the forums.

    Please in the future use CODE tags around copied/pasted computer text in a post. It is the # button in the tool bar of the post editor. When applicable copy/paste complete, that is including the prompt, the command, the output and the next prompt.

    An example is here: Using CODE tags Around your paste.


    I know all of the above
    I do not have a practice of logging in as root

    The URL where i downloaded the file is:

    https://software.opensuse.org/ymp/Ya...nis-client.ymp

    Yast does not accept the root password

    https://paste.pics/cfe3a653c50e4371e3db1e3f574f2493

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    31,776

    Default Re: Root password no longer accepted except for SDDM login manager

    Quote Originally Posted by CatMan View Post
    The URL where i downloaded the file is:

    https://software.opensuse.org/ymp/Ya...nis-client.ymp
    I still do not understand. As far as I see, NIS client is already installed at installation. And when not, it is available in the OSS repo. Now I use Leap, but I would be amazed if that is not the case in Tumbleweed.

    Then you try to use a 1-click installation. In general the advice is against that. repos are added by this and people tend to forget to manage these (mostly disabling them after installation) which often leads to many problems later on.
    Quote Originally Posted by CatMan View Post
    Yast does not accept the root password

    https://paste.pics/cfe3a653c50e4371e3db1e3f574f2493
    And what when you do a simple
    Code:
    su -
    You somewhere say that you added repos, but agaian no information whatsoever about them (and why you did so). Thus please a list of repos:
    Code:
    zypper lr -d
    Henk van Velden

  5. #5
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    2,404

    Default Re: Root password no longer accepted except for SDDM login manager

    Quote Originally Posted by CatMan View Post
    Im using opensuse tumbleweed
    I when to Yast2 > to install NIS
    yast told me that the NIS package was not available
    That is correct: quote from https://github.com/yast/yast-nis-client

    The package yast2-nis-client is only maitained for SUSE SLE 15 and openSUSE Leap 15 products. No new features will be implemented and the packate will be dropped from future products. Tumbleweed does not provide this package anymore.


    because i use the btrfs FS, i decided to copy over ALL the previous days OS's root folders from one of my btrfs snapper snapshot backups - as a sort of 'go back in time' procedure
    Interesting... I'm not too sure that copying files from a snapshot is the recommended procedure, that strikes me as a potential recipe for problems - rollback to a working snapshot would have been a better option.

    This worked
    However, i have this root password issue
    Then I question whether it "worked"...

    Do i need to re-install tumbleweed OS again from scratch ?
    Try to rollback to a working snapshot.

    For future reference please use https://paste.opensuse.org for Text and Image Hosting.
    Regards, Paul

  6. #6
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    31,776

    Default Re: Root password no longer accepted except for SDDM login manager

    Quote Originally Posted by tannington View Post
    That is correct: quote from https://github.com/yast/yast-nis-client

    The package yast2-nis-client is only maitained for SUSE SLE 15 and openSUSE Leap 15 products. No new features will be implemented and the packate will be dropped from future products. Tumbleweed does not provide this package anymore.
    Did not know that. I tend to think that things that are functioning satisfactory for > 30 years will be with us forever.

    Dropping being the case, I assume it will be better for the OP to search for an alternative then trying to stumble on with packages found somewhere in the dark places of the internet.

    And I agree, snapshots are for rollback, they are no backup replacement where one can restore files from.
    Henk van Velden

  7. #7

    Default Re: Root password no longer accepted except for SDDM login manager

    Quote Originally Posted by tannington View Post
    That is correct: quote from https://github.com/yast/yast-nis-client

    The package yast2-nis-client is only maitained for SUSE SLE 15 and openSUSE Leap 15 products. No new features will be implemented and the packate will be dropped from future products. Tumbleweed does not provide this package anymore.

    - Im confused, the only reason i can think of for a NIS package to be maintained on SUSE SLE 15 / openSUSE Leap 15 products but NOT tumbleweed anymore is perhaps because of the progressive nature of tumbleweed and hence tumbleweed
    is literally either officially going to replace it's old NIS package with another one (some time in the future) or it's just a case of being replace by any old third-party package, one(s) recommended by opensuse thrmselves
    If Im correct here, why is there still a reference to NIS in Yast ?



    "Interesting... I'm not too sure that copying files from a snapshot is the recommended procedure, that strikes me as a potential recipe for problems - rollback to a working snapshot would have been a better option."
    - The only support i see from the Grub2 menu, is the option to mount from a RO backup snapshot - I did do this, it works fine, but, it's well, RO only ?
    - I was also a little bit iffy about this, and i was not sure about proper ways to change a RO only snapshot to a standard RW one - hence why i figured it would be just easier to copy accross a snapshot 1 day beforehand
    over the top of the current existing OS files


    "Then I question whether it "worked"..."
    - Yes it did work, i then had a perfectly working bootable OS once again - with the "1" exception that my root password no longer works


    Try to rollback to a working snapshot.

    For future reference please use https://paste.opensuse.org for Text and Image Hosting.

    Password Issue:

    starman@IntelPC:~> su -
    Password:
    su: Authentication service cannot retrieve authentication info
    starman@IntelPC:~>

  8. #8

    Default Re: Root password no longer accepted except for SDDM login manager

    Quote Originally Posted by hcvv View Post
    I still do not understand. As far as I see, NIS client is already installed at installation. And when not, it is available in the OSS repo. Now I use Leap, but I would be amazed if that is not the case in Tumbleweed.

    Then you try to use a 1-click installation. In general the advice is against that. repos are added by this and people tend to forget to manage these (mostly disabling them after installation) which often leads to many problems later on.

    And what when you do a simple
    Code:
    su -
    You somewhere say that you added repos, but agaian no information whatsoever about them (and why you did so). Thus please a list of repos:
    Code:
    zypper lr -d

    Root password no longer accepted - Tumbleweed - 2nd Response back:




    "I still do not understand. As far as I see, NIS client is already installed at installation. And when not, it is available in the OSS repo. Now I use Leap, but I would be amazed if that is not the case in Tumbleweed."

    - I have literally no idea why under Yast there was a complaint about the NIS package not being available. I had tryed twise to install it with the same error
    I recall there being some posts about this recently within the last 2-3 weeks here on ther mailing lists (Im subscribed to)
    I went into yast softwre manager to see if i could locate it manually, i did see a yp package there (either ypserv, yast2-nis-server yast2-nis-clinet)
    In any case - this is not actualyl what my main problem is, hence why i did not originally provide much info about it

    "Then you try to use a 1-click installation. In general the advice is against that. repos are added by this and people tend to forget to manage these (mostly disabling them after installation) which often leads to many problems later on."
    - I my thinking was that the NIS module was probably officially undergoing maintenance, due to bugs/code changes and hence was temporarily taken out, and that the nessessity for one to be manually installed (aka a 1-click option) was nessessary

    In any case, the situation here is no root password accepted


    starman@IntelPC:~> su -
    Password:
    su: Authentication service cannot retrieve authentication info
    starman@IntelPC:~>



    starman@IntelPC:~> zypper lr -d
    # | Alias | Name | Enabled | GPG Check | Refresh | Priority | Type | URI | Service
    ---+--------------------------------------+------------------------------------------------------------------+---------+-----------+---------+----------+--------+-----------------------------------------------------------------------------------------------------------------+--------
    1 | MEGAsync | MEGAsync | Yes | (r ) Yes | Yes | 99 | rpm-md | https://mega.nz/linux/repo/openSUSE_Tumbleweed/ |
    2 | Packman | Packman | Yes | (r ) Yes | Yes | 99 | rpm-md | http://ftp.gwdg.de/pub/linux/misc/pa...SE_Tumbleweed/ |
    3 | Snappy | snappy | No | ---- | ---- | 99 | rpm-md | https://download.opensuse.org/reposi...USE_Tumbleweed |
    4 | download.opensuse.org-non-oss | Main Repository (NON-OSS) | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/tumbleweed/repo/non-oss/ |
    5 | download.opensuse.org-oss | Main Repository (OSS) | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/tumbleweed/repo/oss/ |
    6 | download.opensuse.org-tumbleweed | Main Update Repository | Yes | (r ) Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/tumbleweed/ |
    7 | filesystems | Filesystem tools and FUSE-related packages (openSUSE_Tumbleweed) | Yes | (r ) Yes | No | 99 | rpm-md | https://download.opensuse.org/reposi...SE_Tumbleweed/ |
    10 | https-download.opensuse.org-3ef3a63d | home:ArturGaspar:branches:home:munix9:test | Yes | (r ) Yes | Yes | 99 | rpm-md | https://download.opensuse.org/reposi...SE_Tumbleweed/ |
    8 | https-download.opensuse.org-28e99270 | home:munix9:test | Yes | (r ) Yes | Yes | 99 | rpm-md | https://download.opensuse.org/reposi...SE_Tumbleweed/ |
    11 | https-download.opensuse.org-885b0234 | openSUSE:Tumbleweed | Yes | (r ) Yes | Yes | 99 | rpm-md | https://download.opensuse.org/reposi...weed/standard/ |
    9 | https-download.opensuse.org-2930f734 | homeead_Mozay:anbox | Yes | (r ) Yes | Yes | 99 | rpm-md | https://download.opensuse.org/reposi...SE_Tumbleweed/ |
    12 | https-download.opensuse.org-aed120a7 | openSUSE:Factory | Yes | (r ) Yes | Yes | 99 | rpm-md | https://download.opensuse.org/reposi...tory/snapshot/ |
    13 | https-download.opensuse.org-cecbb81c | home:e_dimas | Yes | (r ) Yes | Yes | 99 | rpm-md | https://download.opensuse.org/reposi...SE_Tumbleweed/ |
    14 | https-download.opensuse.org-ec1227f8 | home:harish2704:jami | Yes | (r ) Yes | Yes | 99 | rpm-md | https://download.opensuse.org/reposi...SE_Tumbleweed/ |
    15 | jami | Jami x86_64 - jami | Yes | ( p) Yes | No | 99 | rpm-md | https://dl.jami.net/nightly/opensuse-tumbleweed |
    16 | repo-debug | openSUSE-Tumbleweed-Debug | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/debug/tumbleweed/repo/oss/ |
    17 | repo-source | openSUSE-Tumbleweed-Source | No | ---- | ---- | 99 | rpm-md | http://download.opensuse.org/source/...weed/repo/oss/ |
    18 | skype-stable | skype (stable) | Yes | (r ) Yes | Yes | 99 | rpm-md | https://repo.skype.com/rpm/stable/ |
    19 | teamviewer | TeamViewer - x86_64 | Yes | (r ) Yes | No | 99 | rpm-md | https://linux.teamviewer.com/yum/sta...binary-x86_64/ |
    starman@IntelPC:~>

  9. #9
    Join Date
    Sep 2012
    Posts
    8,252

    Default Re: Root password no longer accepted except for SDDM login manager

    [QUOTE=CatMan;3150350]
    starman@IntelPC:~> su -
    Password:
    su: Authentication service cannot retrieve authentication info
    starman@IntelPC:~>
    This implies that root user is missing in /etc/passwd or /etc/shadow,

    P.S. your messages are unreadable. These were the only lines more or less clear although you continue to ignore explicit request to use code tags.

  10. #10
    Join Date
    Sep 2013
    Location
    Norfolk, UK
    Posts
    2,404

    Default Re: Root password no longer accepted except for SDDM login manager

    Quote Originally Posted by CatMan View Post
    Im confused, the only reason i can think ... If Im correct here, why is there still a reference to NIS in Yast ?
    Sorry, I can't answer those questions, you would need to contact the YaST/NIS developers.

    - The only support i see from the Grub2 menu, is the option to mount from a RO backup snapshot - I did do this, it works fine, but, it's well, RO only ?
    - I was also a little bit iffy about this, and i was not sure about proper ways to change a RO only snapshot to a standard RW one - hence why i figured it would be just easier to copy accross a snapshot 1 day beforehand
    over the top of the current existing OS files
    If you are able to boot into a RO snapshot then you should be able to perform a "Rollback". Take a look at this document for details: https://doc.opensuse.org/documentati....snapshot-boot

    I still think that rollback to a working snapshot would be a better option, continuing as you are after the "unorthodox" recovery may well lead to further problems becoming apparent; file permissions or ownership issues perhaps.

    - Yes it did work, i then had a perfectly working bootable OS once again - with the "1" exception that my root password no longer works
    Well, by my definition that is not "a perfectly working bootable OS once again" - but I guess we'll have to agree to differ on that
    Regards, Paul

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •