Comments (14)
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.
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.
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.
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.
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.
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.
What about the rest of my questions?
from i3lock.
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.
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.
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.
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.
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.
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.
@JZL Please open a new ticket.
from i3lock.
Related Issues (20)
- Please provide an option to lock the screen only a while after blanking HOT 4
- i3lock doesn't accept correct password after entering incorrect ones. HOT 4
- Mod-key reset after screen lock. HOT 4
- Non-standard License (not sure which SPDX identifier to use) HOT 3
- Please add functional for show layers (en,ru and etc) HOT 2
- Option to compile i3lock without PAM on Linux HOT 1
- Pam interaction when time-limit on logins is configured HOT 2
- Add Space Mode HOT 2
- Better Computer Wake Handling. HOT 1
- Allow configuring of invalid password cooldown? HOT 5
- Feature Request: Keyboard Language In Password/Lock Screen HOT 2
- i3bar is shown in i3lock lock screen when it is positioned at the bottom with picom running HOT 3
- password unrecognized HOT 3
- [bug] background image rendering not taking screen rotation into account
- Custom password HOT 1
- lock circumvented (broken) when issuing setxkbmp and xkbcomp and fast typing HOT 8
- numlock indicator is unaesthetic and not useful - can't disable? HOT 2
- [bug] i3lock doesn't seem to register the first couple of keypresses of password HOT 6
- `i3lock` package from i3's official repos outdated (2.14) HOT 5
- i3lock is pausing for 30 seconds after verifying my password HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from i3lock.