Bodhi Linux Forums: Lock screen password - Bodhi Linux Forums

Jump to content

  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Lock screen password

#1 User is offline   Stabak 

  • Member
  • Group: Members
  • Posts: 190
  • Joined: 29-December 11
  • LocationAthens, Greece

Posted 04 July 2012 - 05:49 AM

unlocks with anything as a password....
:blink:
It's like screaming at a wall, someday it's gonna fall
0

#2 User is offline   Tara 

  • Moderately Bemused
  • Group: Moderators
  • Posts: 877
  • Joined: 02-July 11
  • LocationOttawa, ON

Posted 04 July 2012 - 09:39 AM

doesn't work like that here... have you tried changing your password to make sure that there's nothing strange about it?

Also, what version of the E17 packages are you using?

ara@MadHatter:~$ dpkg -l enlightenment
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii enlightenment 20120514-1 enlightenment
0

#3 User is offline   Stabak 

  • Member
  • Group: Members
  • Posts: 190
  • Joined: 29-December 11
  • LocationAthens, Greece

Posted 06 July 2012 - 08:52 AM

christos@tabdesktop:~$ dpkg -l enlightenment
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii enlightenment 20120514-1 enlightenment

Still does it... wasn't aware of it till I saw my colleague on my desktop :lol:
It's like screaming at a wall, someday it's gonna fall
0

#4 User is offline   Stabak 

  • Member
  • Group: Members
  • Posts: 190
  • Joined: 29-December 11
  • LocationAthens, Greece

Posted 06 July 2012 - 10:09 AM

:(
It's like screaming at a wall, someday it's gonna fall
0

#5 User is offline   Tara 

  • Moderately Bemused
  • Group: Moderators
  • Posts: 877
  • Joined: 02-July 11
  • LocationOttawa, ON

Posted 06 July 2012 - 11:20 AM

hm... definitely something wrong with the way you're authenticating. what about just logging in? and have you tried changing your password?
0

#6 Guest_Meji_D_*

  • Group: Guests

Posted 06 July 2012 - 11:55 AM

In /etc/pam.d/, would you post the contents of the following files? (If they are present on your system):
enlightenment, system-auth, login, xscreensaver, kscreensaver
0

#7 User is offline   Stabak 

  • Member
  • Group: Members
  • Posts: 190
  • Joined: 29-December 11
  • LocationAthens, Greece

Posted 09 July 2012 - 06:21 AM

only login present in /pam.d

#
# The PAM configuration file for the Shadow `login' service
#

# Enforce a minimal delay in case of failure (in microseconds).
# (Replaces the `FAIL_DELAY' setting from login.defs)
# Note that other modules may require another minimal delay. (for example,
# to disable any delay, you should add the nodelay option to pam_unix)
auth       optional   pam_faildelay.so  delay=3000000

# Outputs an issue file prior to each login prompt (Replaces the
# ISSUE_FILE option from login.defs). Uncomment for use
# auth       required   pam_issue.so issue=/etc/issue

# Disallows root logins except on tty's listed in /etc/securetty
# (Replaces the `CONSOLE' setting from login.defs)
# Note that it is included as a "required" module. root will be
# prompted for a password on insecure ttys.
# If you change it to a "requisite" module, make sure this does not leak
# user name information.
auth       required  pam_securetty.so

# Disallows other than root logins when /etc/nologin exists
# (Replaces the `NOLOGINS_FILE' option from login.defs)
auth       requisite  pam_nologin.so

# SELinux needs to be the first session rule. This ensures that any 
# lingering context has been cleared. Without out this it is possible 
# that a module could execute code in the wrong domain.
# When the module is present, "required" would be sufficient (When SELinux
# is disabled, this returns success.)
session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so close

# This module parses environment configuration file(s)
# and also allows you to use an extended config
# file /etc/security/pam_env.conf.
# 
# parsing /etc/environment needs "readenv=1"
session       required   pam_env.so readenv=1
# locale variables are also kept into /etc/default/locale in etch
# reading this file *in addition to /etc/environment* does not hurt
session       required   pam_env.so readenv=1 envfile=/etc/default/locale

# Standard Un*x authentication.
@include common-auth

# This allows certain extra groups to be granted to a user
# based on things like time of day, tty, service, and user.
# Please edit /etc/security/group.conf to fit your needs
# (Replaces the `CONSOLE_GROUPS' option in login.defs)
auth       optional   pam_group.so

# Uncomment and edit /etc/security/time.conf if you need to set
# time restrainst on logins.
# (Replaces the `PORTTIME_CHECKS_ENAB' option from login.defs
# as well as /etc/porttime)
# account    requisite  pam_time.so

# Uncomment and edit /etc/security/access.conf if you need to
# set access limits.
# (Replaces /etc/login.access file)
# account  required       pam_access.so

# Sets up user limits according to /etc/security/limits.conf
# (Replaces the use of /etc/limits in old login)
session    required   pam_limits.so

# Prints the last login info upon succesful login
# (Replaces the `LASTLOG_ENAB' option from login.defs)
session    optional   pam_lastlog.so

# Prints the motd upon succesful login
# (Replaces the `MOTD_FILE' option in login.defs)
session    optional   pam_motd.so

# Prints the status of the user's mailbox upon succesful login
# (Replaces the `MAIL_CHECK_ENAB' option from login.defs). 
#
# This also defines the MAIL environment variable
# However, userdel also needs MAIL_DIR and MAIL_FILE variables
# in /etc/login.defs to make sure that removing a user 
# also removes the user's mail spool file.
# See comments in /etc/login.defs
session    optional   pam_mail.so standard

# Standard Un*x account and session
@include common-account
@include common-session
@include common-password

# SELinux needs to intervene at login time to ensure that the process
# starts in the proper default security context. Only sessions which are
# intended to run in the user's context should be run after this.
session [success=ok ignore=ignore module_unknown=ignore default=bad] pam_selinux.so open
# When the module is present, "required" would be sufficient (When SELinux
# is disabled, this returns success.)

It's like screaming at a wall, someday it's gonna fall
0

#8 Guest_Meji_D_*

  • Group: Guests

Posted 09 July 2012 - 09:09 AM

Ok try this & see if it works:

sudo nano /etc/pam.d/enlightenment

Create enlightenment authentication file.

add content:

#%PAM-1.0
@include common-auth
@include common-account
@include common-password


ctrl-x to Exit, Y to confirm, Enter to save & exit.

Test.

(These are all included in the login file, but perhaps enlightenment "misses" going through it)?
0

#9 User is offline   Stabak 

  • Member
  • Group: Members
  • Posts: 190
  • Joined: 29-December 11
  • LocationAthens, Greece

Posted 09 July 2012 - 10:45 AM

nothing changed Meji_D, same behavior...
It's like screaming at a wall, someday it's gonna fall
0

#10 Guest_Meji_D_*

  • Group: Guests

Posted 09 July 2012 - 12:14 PM

How do you normally log in to your computer?
0

#11 User is offline   Stabak 

  • Member
  • Group: Members
  • Posts: 190
  • Joined: 29-December 11
  • LocationAthens, Greece

Posted 09 July 2012 - 12:55 PM

With the default login manager, haven't messed up with anything similar.... :unsure: and the thing is that whenever I locked the screen believed that my password typing was always perfect :D
It's like screaming at a wall, someday it's gonna fall
0

#12 Guest_Meji_D_*

  • Group: Guests

Posted 10 July 2012 - 06:55 AM

I'm surprised that you only have the file "login", you ought to have several other files in here. Have you tried login with incorrect password? Perhaps you have the same problem there?

Anyway, lets try this and see if it works, I've uploaded 4 files:

Attached File  common-account.txt (1.25K)
Number of downloads: 1
Attached File  common-auth.txt (1.33K)
Number of downloads: 1
Attached File  common-password.txt (1.52K)
Number of downloads: 1
Attached File  common-session.txt (1.2K)
Number of downloads: 1


(Forum software would not allow upload without adding an extension, so I added ".txt") download these files and rename them by removing the ".txt" extension. (common-account.txt --> common-account) etc. and then place them in your etc/pam.d/

For now, delete or rename the "enlightenment" file you created before in etc/pam.d/

Check you have the file: /etc/default/locale (you should have it!) If not, create it with this content: LANG="en_US.UTF-8"

I don't think you need to log out or restart, but just in case, might as well.

See if it works now.
0

#13 User is offline   Stabak 

  • Member
  • Group: Members
  • Posts: 190
  • Joined: 29-December 11
  • LocationAthens, Greece

Posted 10 July 2012 - 08:09 AM

I do have those files Meji, in the previous post meant that I do not have enlightenment, system-auth, xscreensaver, kscreensaver but just login... since then I've created the enlightenment file by your instructions to no avail...

Should I replace the common* ones with yours?

/etc/default/locale present and correct

Sorry for the misunderstanding
It's like screaming at a wall, someday it's gonna fall
0

#14 Guest_Meji_D_*

  • Group: Guests

Posted 10 July 2012 - 08:26 AM

View PostStabak, on 10 July 2012 - 08:09 AM, said:

I do have those files Meji, in the previous post meant that I do not have enlightenment, system-auth, xscreensaver, kscreensaver but just login... since then I've created the enlightenment file by your instructions to no avail...

Should I replace the common* ones with yours?

/etc/default/locale present and correct

Sorry for the misunderstanding

The scary part is; people go to war over smaller misunderstandings ;)

You might compare the "common" files, but there should be no need to replace them if they are already present.

Ok so, next test: delete the previous content in your /etc/pam.d/enlightenment file and replace it with:
password	required	pam_deny.so


test lock-screen again.
0

#15 User is offline   Stabak 

  • Member
  • Group: Members
  • Posts: 190
  • Joined: 29-December 11
  • LocationAthens, Greece

Posted 10 July 2012 - 08:58 AM

nop nothing.... :( still penetratable :lol:
It's like screaming at a wall, someday it's gonna fall
0

#16 Guest_Meji_D_*

  • Group: Guests

Posted 10 July 2012 - 10:11 AM

add this on a line above the password line in /etc/pam.d/enlightenment

auth	required	pam_unix.so


Just to make sure, check the spelling of the "enlightenment" file (no caps).

What version e are you using?
0

#17 User is offline   Stabak 

  • Member
  • Group: Members
  • Posts: 190
  • Joined: 29-December 11
  • LocationAthens, Greece

Posted 10 July 2012 - 10:49 AM

View PostMeji_D, on 10 July 2012 - 10:11 AM, said:

add this on a line above the password line in /etc/pam.d/enlightenment

auth	required	pam_unix.so



Nothing!

View PostMeji_D, on 10 July 2012 - 10:11 AM, said:

add this on a line above the password line in /etc/pam.d/enlightenment

auth	required	pam_unix.so


Just to make sure, check the spelling of the "enlightenment" file (no caps).

What version e are you using?


1.4.0

Really appreciate your effort Meji_D scary though I'm the only one with the problem
It's like screaming at a wall, someday it's gonna fall
0

#18 Guest_Meji_D_*

  • Group: Guests

Posted 10 July 2012 - 11:37 AM

View PostStabak, on 10 July 2012 - 10:49 AM, said:


1.4.0


So that would be something like 0.16.999.66441?

Quote


Really appreciate your effort Meji_D scary though I'm the only one with the problem

Glad to "try" :) If we solve this I've learned something :D


Would you post the contents of your /etc/passwd, /etc/shadow and /etc/group files?
0

#19 User is offline   Tara 

  • Moderately Bemused
  • Group: Moderators
  • Posts: 877
  • Joined: 02-July 11
  • LocationOttawa, ON

Posted 10 July 2012 - 11:40 AM

I usually say that reinstalling is like swatting a fly with a buick, but in this case..... if it were my system, there's a sense of urgency in making sure that the lock screen actually requires a proper password, because I run Bodhi on a laptop....


EDIT: also, Meji's post above is why I suggested resetting the password... changing the password *should* make sure that /etc/passwd and /etc/shadow are set properly. :)
0

#20 User is offline   Stabak 

  • Member
  • Group: Members
  • Posts: 190
  • Joined: 29-December 11
  • LocationAthens, Greece

Posted 10 July 2012 - 11:49 AM

0.16.999.71001

Changed passwd, same behavior

passwd

root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/bin/sh
bin:x:2:2:bin:/bin:/bin/sh
sys:x:3:3:sys:/dev:/bin/sh
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/bin/sh
man:x:6:12:man:/var/cache/man:/bin/sh
lp:x:7:7:lp:/var/spool/lpd:/bin/sh
mail:x:8:8:mail:/var/mail:/bin/sh
news:x:9:9:news:/var/spool/news:/bin/sh
uucp:x:10:10:uucp:/var/spool/uucp:/bin/sh
proxy:x:13:13:proxy:/bin:/bin/sh
www-data:x:33:33:www-data:/var/www:/bin/sh
backup:x:34:34:backup:/var/backups:/bin/sh
list:x:38:38:Mailing List Manager:/var/list:/bin/sh
irc:x:39:39:ircd:/var/run/ircd:/bin/sh
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
libuuid:x:100:101::/var/lib/libuuid:/bin/sh
syslog:x:101:103::/home/syslog:/bin/false
messagebus:x:102:110::/var/run/dbus:/bin/false
usbmux:x:103:46:usbmux daemon,,,:/home/usbmux:/bin/false
haldaemon:x:104:112:Hardware abstraction layer,,,:/var/run/hald:/bin/false
nobody:x:65534:65534:nobody:/nonexistent:/bin/sh
christos:x:1000:1000:stabak,,,:/home/christos:/bin/bash
avahi:x:105:114:Avahi mDNS daemon,,,:/var/run/avahi-daemon:/bin/false
saned:x:106:116::/home/saned:/bin/false
statd:x:107:65534::/var/lib/nfs:/bin/false


shadow
root:x:15348:0:99999:7:::
daemon:x:15348:0:99999:7:::
bin:x:15348:0:99999:7:::
sys:x:15348:0:99999:7:::
sync:x:15348:0:99999:7:::
games:x:15348:0:99999:7:::
man:x:15348:0:99999:7:::
lp:x:15348:0:99999:7:::
mail:x:15348:0:99999:7:::
news:x:15348:0:99999:7:::
uucp:x:15348:0:99999:7:::
proxy:x:15348:0:99999:7:::
www-data:x:15348:0:99999:7:::
backup:x:15348:0:99999:7:::
list:x:15348:0:99999:7:::
irc:x:15348:0:99999:7:::
gnats:x:15348:0:99999:7:::
libuuid:x:15348:0:99999:7:::
syslog:x:15348:0:99999:7:::
messagebus:x:15348:0:99999:7:::
usbmux:x:15348:0:99999:7:::
haldaemon:x:15348:0:99999:7:::
nobody:x:15348:0:99999:7:::
christos:$6$eX312Q16$lERvGHZwUl4kmC/zHVTMFUv4v2WGTUZGzvV1bjJ4kdXl.ouxy6qcLj9EJ3F3CH1hzBM1P8s8KuC3w9ZNpLefS1:15348:0:99999:7:::
avahi:*:15348:0:99999:7:::
saned:*:15348:0:99999:7:::
statd:*:15348:0:99999:7:::


group
root:x:0:
daemon:x:1:
bin:x:2:
sys:x:3:
adm:x:4:christos
tty:x:5:
disk:x:6:
lp:x:7:christos,nobody
mail:x:8:
news:x:9:
uucp:x:10:
man:x:12:
proxy:x:13:
kmem:x:15:
dialout:x:20:christos
fax:x:21:
voice:x:22:
cdrom:x:24:christos
floppy:x:25:
tape:x:26:
sudo:x:27:
audio:x:29:
dip:x:30:
www-data:x:33:
backup:x:34:
operator:x:37:
list:x:38:
irc:x:39:
src:x:40:
gnats:x:41:
shadow:x:42:
utmp:x:43:
video:x:44:
sasl:x:45:
plugdev:x:46:christos
staff:x:50:
games:x:60:
users:x:100:
libuuid:x:101:
crontab:x:102:
syslog:x:103:
fuse:x:104:
mlocate:x:105:
ssh:x:106:
lpadmin:x:107:christos
sambashare:x:108:christos
admin:x:109:christos
messagebus:x:110:
netdev:x:111:
haldaemon:x:112:
nogroup:x:65534:
christos:x:1000:
ssl-cert:x:113:
avahi:x:114:
scanner:x:115:saned
saned:x:116:
winbindd_priv:x:117:
vboxusers:x:118:christos

It's like screaming at a wall, someday it's gonna fall
0

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users