Git Product home page Git Product logo

Comments (14)

stapelberg avatar stapelberg commented on May 8, 2024

This is likely not an i3lock issue. i3lock just uses PAM.

Can you clarify what you mean by “When i3lock is used with the root account”? How exactly do you start i3lock? Which password do you expect to be used for unlocking?

from i3lock.

c20xh2 avatar c20xh2 commented on May 8, 2024

I'm sorry if this don't make sense, i'm far from being an expert

When i use i3lock with a regular user account (lauching it simply by writing i3lock in terminal) i dont have any issue.

If i do the same with the root account it doesn't accept root or user password to unlock.

from i3lock.

stapelberg avatar stapelberg commented on May 8, 2024

How did you switch from the user account to the root account? When you enter su - as user, will it ask you for the root password and give you a root shell when you enter it?

from i3lock.

JamesHagerman avatar JamesHagerman commented on May 8, 2024

I just had a similar issue. After using sudo su to get to a root shell, I typed i3lock just to see what it looked like.

None of my passwords worked to get me back in. I had to ctrl-alt-f1 to get to a prompt to killall i3lock.

from i3lock.

stapelberg avatar stapelberg commented on May 8, 2024

If you use “sudo su”, are you sure that the root account actually has a password set? Again, when you enter su -, will that ask you for a password, and will it make you root once you enter it? Are you entering the same password to unlock i3lock?

from i3lock.

c20xh2 avatar c20xh2 commented on May 8, 2024

Yes i'm 100% positive about the password

2015-10-30 3:24 GMT-04:00 Michael Stapelberg [email protected]:

If you use “sudo su”, are you sure that the root account actually has a
password set? Again, when you enter su -, will that ask you for a
password, and will it make you root once you enter it? Are you entering the
same password to unlock i3lock?


Reply to this email directly or view it on GitHub
#43 (comment).

from i3lock.

stapelberg avatar stapelberg commented on May 8, 2024

What about the rest of my questions?

from i3lock.

JamesHagerman avatar JamesHagerman commented on May 8, 2024

For me, the root account has a password set on it. When I enter su -, I am asked for a password, and it makes me root once I enter it.

After doing su -, if I start i3lock, the password for the root user is not working.

Honestly, NONE of the passwords set on the machine (either for root or for the user I su'd from) are working from an instance of i3lock started from the command line as root.

from i3lock.

stapelberg avatar stapelberg commented on May 8, 2024

Does any other screen locker work? i3lock just uses PAM, so I’m wondering why it would be different from any other application.

from i3lock.

mh21 avatar mh21 commented on May 8, 2024

I'm wondering whether this is because of the used PAM policy. i3lock.pam includes 'login', which might be different from the 'su' policy. In ubuntu, /etc/pam.d/su has an 'auth sufficient pam_rootok.so' line that seems to be related.

from i3lock.

c20xh2 avatar c20xh2 commented on May 8, 2024

2015-11-04 11:26 GMT-05:00 c20xh2 c20xh2 [email protected]:

Yes i'm 100% positive about the password

2015-10-30 3:24 GMT-04:00 Michael Stapelberg [email protected]:

If you use “sudo su”, are you sure that the root account actually has a
password set? Again, when you enter su -, will that ask you for a
password, and will it make you root once you enter it? Are you entering the
same password to unlock i3lock?


Reply to this email directly or view it on GitHub
#43 (comment).

from i3lock.

stapelberg avatar stapelberg commented on May 8, 2024

kali has the following line in its /etc/pam.d/login:

auth [success=ok new_authtok_reqd=ok ignore=ignore user_unknown=bad default=die] pam_securetty.so

Since i3lock is not a terminal, this check is what prevents the login. Let me see whether there’s anything we can do about it or whether this is working as intended.

from i3lock.

JZL avatar JZL commented on May 8, 2024

I am running i3 on Ubuntu. I compiled and installed from the git source directly and the problem still persisted (pm-suspend works but sudo pm-suspend does not (I have to sudo kill the process to get back in)).
Is there anything I can do?

I can open a new error request, if you'd prefer

from i3lock.

stapelberg avatar stapelberg commented on May 8, 2024

@JZL Please open a new ticket.

from i3lock.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.