Results 1 to 7 of 7

Thread: My sudo seems to be broken. What should I do?

  1. #1

    Default My sudo seems to be broken. What should I do?

    My sudo seems to be broken after configuring and installing CoprHD which supports only OpenSUSE officially. When I use sudo it keeps telling me that the password is wrong, while I am sure that what I am typing is correct as I could successfully log in and check the password via passwd.

    It is no use to boot to the recovery mode of installation ISO and reset both the password of root and my account.

    What's the solution to this?

  2. #2
    Join Date
    Oct 2014
    Location
    Italy
    Posts
    1,674

    Default Re: My sudo seems to be broken. What should I do?

    Quote Originally Posted by excelle08 View Post
    My sudo seems to be broken after configuring and installing CoprHD which supports only OpenSUSE officially. When I use sudo it keeps telling me that the password is wrong, while I am sure that what I am typing is correct as I could successfully log in and check the password via passwd.

    It is no use to boot to the recovery mode of installation ISO and reset both the password of root and my account.

    What's the solution to this?
    Have you tried the obvious, like:
    - type the password characters in a terminal and see if they are as intended (maybe a different keyboard layout has taken over without you noticing?)
    - check for dirt / molding debris on the keyboard or keys intermittently failing?
    - try:
    Code:
    su -
    this starts a superuser login shell that should be unaffected by changes to other user's environment.
    Main: Leap 15 Gnome on i7 4720HQ + Geforce GTX960M
    Test: Leap 42.3 (& others) on Core2Duo + GM965

  3. #3
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,761

    Default Re: My sudo seems to be broken. What should I do?

    And remember Linux is case sensitive

  4. #4
    Join Date
    Jun 2008
    Location
    Belleville, Ontario, Canada
    Posts
    450

    Default Re: My sudo seems to be broken. What should I do?

    And for completeness (and just in case you don't know) the password you give to sudo is your user's password and not root's/superuser's.
    "Making rich people richer doesn't make the rest of us richer." Ha-Joon Chang
    openSUSE 15.1 4.12.14-lp151.28.16-default x64

  5. #5
    Join Date
    Sep 2008
    Posts
    2,997

    Default Re: My sudo seems to be broken. What should I do?

    Quote Originally Posted by kerijan2003 View Post
    And for completeness (and just in case you don't know) the password you give to sudo is your user's password and not root's/superuser's.
    don't you mean the other way around, you give root's password to get root permissions, this is not a deb fork
    if you want to change the way sudo works go in yast and edit sudoers options or edit /etc/sudoers

  6. #6
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,270

    Default Re: My sudo seems to be broken. What should I do?

    Quote Originally Posted by kerijan2003 View Post
    And for completeness (and just in case you don't know) the password you give to sudo is your user's password and not root's/superuser's.
    That is not how it is in openSUSE right after installation. openSUSE configured sudo to work the same way as su. That is fine imho (but one could ask why use sudo and not su instead).
    Henk van Velden

  7. #7
    Join Date
    Jun 2008
    Location
    Belleville, Ontario, Canada
    Posts
    450

    Default Re: My sudo seems to be broken. What should I do?

    Actually, I don't use sudo at all (unless I use one of my deb based VM's on VirtualBox). I normally use su - when I need root priv's. I didn't know openSUSE had sudo setup different to the deb distros. Ya learn something everyday.
    "Making rich people richer doesn't make the rest of us richer." Ha-Joon Chang
    openSUSE 15.1 4.12.14-lp151.28.16-default x64

Posting Permissions

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