Results 1 to 4 of 4

Thread: Lost sudo, su password

  1. #1
    Join Date
    Aug 2008
    Location
    Mexico and Sweden
    Posts
    1,326

    Default Lost sudo, su password

    openSUSE LEAP 42.1 KDE

    I can log in as root from a console (CTL+ALT+F3) but when I open a console from KDE and invoke "su" or "sudo" and use the same password it responds with

    Code:
    su: Authentication failure
    
    Any suggestions?

  2. #2
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,768

    Default Re: Lost sudo, su password

    Sure of the cap locks??

    Try rather then console log into terminal as yourself then try su still see a problem?

  3. #3

    Default Re: Lost sudo, su password

    Quote Originally Posted by ionmich View Post
    openSUSE LEAP 42.1 KDE

    I can log in as root from a console (CTL+ALT+F3) but when I open a console from KDE and invoke "su" or "sudo" and use the same password it responds with

    Code:
    su: Authentication failure
    
    Any suggestions?
    Looks like some file permissions are wrong.

    Login as root (in text mode preferably), and run this:
    Code:
    chkstat --system
    If that doesn't help, please post your security settings:
    Code:
    grep SECURITY /etc/sysconfig/security
    su and sudo won't work if you set that to "paranoid".

  4. #4
    Join Date
    Aug 2008
    Location
    Mexico and Sweden
    Posts
    1,326

    Default Re: Lost sudo, su password

    Quote Originally Posted by wolfi323 View Post
    Looks like some file permissions are wrong.

    Login as root (in text mode preferably), and run this:
    Code:
    chkstat --system
    If that doesn't help, please post your security settings:
    Code:
    grep SECURITY /etc/sysconfig/security
    su and sudo won't work if you set that to "paranoid".
    Following your suggestion, I read the man for chkstat (which I never knew existed) and looked at the output of chkstat --system. I then invoked chkstat --system --set and my problem disappeared.

    Thanks for the advice.

Posting Permissions

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