Lock screen password
#1
Posted 04 July 2012 - 05:49 AM
#2
Posted 04 July 2012 - 09:39 AM
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
#3
Posted 06 July 2012 - 08:52 AM
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
#5
Posted 06 July 2012 - 11:20 AM
#6 Guest_Meji_D_*
Posted 06 July 2012 - 11:55 AM
enlightenment, system-auth, login, xscreensaver, kscreensaver
#7
Posted 09 July 2012 - 06:21 AM
# # 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.)
#8 Guest_Meji_D_*
Posted 09 July 2012 - 09:09 AM
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)?
#9
Posted 09 July 2012 - 10:45 AM
#11
Posted 09 July 2012 - 12:55 PM
#12 Guest_Meji_D_*
Posted 10 July 2012 - 06:55 AM
Anyway, lets try this and see if it works, I've uploaded 4 files:
common-account.txt (1.25K)
Number of downloads: 1
common-auth.txt (1.33K)
Number of downloads: 1
common-password.txt (1.52K)
Number of downloads: 1
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.
#13
Posted 10 July 2012 - 08:09 AM
Should I replace the common* ones with yours?
/etc/default/locale present and correct
Sorry for the misunderstanding
#14 Guest_Meji_D_*
Posted 10 July 2012 - 08:26 AM
Stabak, on 10 July 2012 - 08:09 AM, said:
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.
#15
Posted 10 July 2012 - 08:58 AM
#16 Guest_Meji_D_*
Posted 10 July 2012 - 10:11 AM
auth required pam_unix.so
Just to make sure, check the spelling of the "enlightenment" file (no caps).
What version e are you using?
#17
Posted 10 July 2012 - 10:49 AM
Meji_D, on 10 July 2012 - 10:11 AM, said:
auth required pam_unix.so
Nothing!
Meji_D, on 10 July 2012 - 10:11 AM, said:
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
#18 Guest_Meji_D_*
Posted 10 July 2012 - 11:37 AM
Stabak, 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"
Would you post the contents of your /etc/passwd, /etc/shadow and /etc/group files?
#19
Posted 10 July 2012 - 11:40 AM
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.
#20
Posted 10 July 2012 - 11:49 AM
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

Help











