Displaying 20 results from an estimated 68 matches for "pam_systemd".
2020 Jun 23
2
pam_systemd(samba:session): Failed to create session: No such file or directory
...Build Date : Tue 12 May 2020 04:31:13 PM UTC
...
Packager : CentOS BuildSystem <http://bugs.centos.org>
When a user opens a file share, there's an error coming up in the syslog (however,
it doesn't affect user's ability to open the share):
Jun 23 10:14:37 filer-1 smbd[4572]: pam_systemd(samba:session): pam-systemd initializing
Jun 23 10:14:37 filer-1 smbd[4572]: pam_systemd(samba:session): Asking logind to create session: uid=16777217 pid=4572 service=samba type=tty class=user desktop= seat= vtnr=0 tty=smb/257860650 display= remote=yes remote_user= remote_host=172.26.10.1
Jun 23 1...
2020 Jun 23
0
pam_systemd(samba:session): Failed to create session: No such file or directory
...0 04:31:13 PM UTC
> ...
> Packager : CentOS BuildSystem <http://bugs.centos.org>
>
> When a user opens a file share, there's an error coming up in the syslog (however,
> it doesn't affect user's ability to open the share):
> Jun 23 10:14:37 filer-1 smbd[4572]: pam_systemd(samba:session): pam-systemd initializing
> Jun 23 10:14:37 filer-1 smbd[4572]: pam_systemd(samba:session): Asking logind to create session: uid=16777217 pid=4572 service=samba type=tty class=user desktop= seat= vtnr=0 tty=smb/257860650 display= remote=yes remote_user= remote_host=172.26.10.1
>...
2020 Jun 23
1
pam_systemd(samba:session): Failed to create session: No such file or directory
...t; ...
>> Packager : CentOS BuildSystem <http://bugs.centos.org>
>>
>> When a user opens a file share, there's an error coming up in the syslog (however,
>> it doesn't affect user's ability to open the share):
>> Jun 23 10:14:37 filer-1 smbd[4572]: pam_systemd(samba:session): pam-systemd initializing
>> Jun 23 10:14:37 filer-1 smbd[4572]: pam_systemd(samba:session): Asking logind to create session: uid=16777217 pid=4572 service=samba type=tty class=user desktop= seat= vtnr=0 tty=smb/257860650 display= remote=yes remote_user= remote_host=172.26.10.1...
2024 Dec 16
2
PAM session setup and environment variables
Hello everyone,
I am trying to adjust the systemd-logind classification of the SSH
session opened by Ansible client. By default the SSH session created
by Ansible client is Class=user and Type=tty in systemd-logind.
pam_systemd.so allows users to change this default via the environment
variables XDG_SESSION_CLASS and XDG_SESSION_TYPE. When I set these
variables on the client and make sure they are accepted by the server
I observe in the log that variables are set but that happens *after*
PAM session is created in the chil...
2024 Dec 16
1
PAM session setup and environment variables
On ???, 16 ??? 2024, Michal Sekletar wrote:
> Hello everyone,
>
> I am trying to adjust the systemd-logind classification of the SSH
> session opened by Ansible client. By default the SSH session created
> by Ansible client is Class=user and Type=tty in systemd-logind.
> pam_systemd.so allows users to change this default via the environment
> variables XDG_SESSION_CLASS and XDG_SESSION_TYPE. When I set these
> variables on the client and make sure they are accepted by the server
> I observe in the log that variables are set but that happens *after*
> PAM session is...
2015 May 08
4
ldap host attribute is ignored
...am_gnome_keyring.so use_authtok
password sufficient pam_unix.so use_authtok nullok
shadow try_first_pass
password required pam_sss.so use_authtok
session optional pam_keyinit.so revoke
session required pam_limits.so
-session optional pam_systemd.so
session [success=1 default=ignore] pam_succeed_if.so service in
crond quiet use_uid
session required pam_unix.so
session sufficient pam_sss.so
session required pam_unix.so try_first_pass
session optional pam_umask.so
session optional pam_gnome_keyri...
2015 Apr 29
2
Cron Issues
...install.
I added this too settings.
nano /etc/cron.d/0hourly
*/5 * * * * root run-parts /etc/cron.fiveminutes
*/1 * * * * root run-parts /etc/cron.minute
0,30 * * * * root run-parts /etc/cron.halfhour
and then created the directories for it. Now I keep getting these
errors in secure log.
**** pam_systemd(crond:session): Failed to create session: Did not
receive a reply. Possible causes include: the remote application did
not send a reply, the message bus security policy blocked the reply,
the reply timeout expired, or the network connection was broken.
Can anyone tell me how to resolve it?
2015 Oct 22
2
Centos User Privileges.
...stalled C 7.1.1503 and I've noticed that simple user can run from
bash shutdown -h now/reboot without getting special permission (sudo,
su). The machine is a VM without GUI (tested also on physical machine).
From reddit I've got a suggestion: removing/comment out "-session
optional pam_systemd.so" in /etc/pam.d/system-auth the problem is solved.
This is a bug?
If not, why use this policy? There are security implication?
Thanks in advance.
2015 May 11
2
ldap host attribute is ignored
...t pam_unix.so md5 shadow nullok try_first_pass
> use_authtok
> password sufficient pam_sss.so use_authtok
> password required pam_deny.so
>
> session optional pam_keyinit.so revoke
> session required pam_limits.so
> -session optional pam_systemd.so
> session [success=1 default=ignore] pam_succeed_if.so service in
> crond quiet use_uid
> session required pam_unix.so
> session optional pam_sss.so
>
> My /etc/pam.d/password-auth:
> #%PAM-1.0
> # This file is auto-generated.
> # User changes wi...
2016 Mar 09
4
libvirtd vs XDG_RUNTIME_DIR
I ran into an odd problem today. I wanted to share it here in the
hopes of maybe saving someone else some lost time.
When you run libvirtd as an unprivileged user (e.g., if you target
qemu:///session from a non-root account), then libvirt will open a
unix domain socket in one of two places:
- If XDG_RUNTIME_DIR is defined, then inside
$XDG_RUNTIME_DIR/libvirt/libvirt-sock
- If
2015 May 11
3
ldap host attribute is ignored
On 05/09/2015 01:24 PM, Jonathan Billings wrote:
> Is it normal to have pam_unix and pam_sss twice for each each section?
No. See my previous message. I think it's the result of copying
portions of SuSE configurations.
2018 Aug 07
0
Centos 7.5..and My GDM Greeter/GDM Don't Work Anymore
...y' failed
> Aug 07 16:23:31 gs6102dsclxpvirgo3 gnome-shell[2023]: g_array_unref:
> assertion 'array' failed
> Aug 07 16:23:31 gs6102dsclxpvirgo3 gnome-session-binary[1926]:
> WARNING: Could not get session path for session. Check that logind is
> properly installed and pam_systemd is getting used at login.
> Aug 07 16:23:31 gs6102dsclxpvirgo3 gnome-shell[2023]: g_array_unref:
> assertion 'array' failed
> Aug 07 16:23:31 gs6102dsclxpvirgo3 gnome-session[1926]:
> gnome-session-binary[1926]: WARNING: Could not get session path for
> session. Check that...
2024 Dec 17
1
PAM session setup and environment variables
On Mon, 16 Dec 2024, Michal Sekletar wrote:
> Hello everyone,
>
> I am trying to adjust the systemd-logind classification of the SSH
> session opened by Ansible client. By default the SSH session created
> by Ansible client is Class=user and Type=tty in systemd-logind.
> pam_systemd.so allows users to change this default via the environment
> variables XDG_SESSION_CLASS and XDG_SESSION_TYPE. When I set these
> variables on the client and make sure they are accepted by the server
> I observe in the log that variables are set but that happens *after*
> PAM session is...
2024 Dec 17
1
PAM session setup and environment variables
...SSH protocol
> sends them at the time a session is opened, well after authentication
> has completed. At best, they could be made available to the PAM
> session modules but there's no way to make user-specified environment
> available to auth and account modules.
I am interested in pam_systemd.so which is a session module. Hence,
would you accept a patch that exposes these variables during this
phase of a session setup?
> Similarly, environment variables _set by_ PAM override anything the
> user set by SetEnv/SendEnv, on the basis that admin-specified
> environment shouldn'...
2014 Jun 03
0
Wrong tty at autologin
Hello,
I am working on system that use systemd.
On host user session (uid=5000) starts automatically but in container I have following error message:
May 12 00:18:15 localhost user-session-launch[110]: pam_systemd(login:session): Asking logind to create session: uid=5000 pid=110 service=login type=tty class=user seat=seat0 vtnr=1 tty=tty1 display= remote=no remote_user= remote_host=
May 12 00:18:16 localhost user-session-launch[110]: pam_systemd(login:session): Failed to create session: Invalid argument
May...
2018 Jan 16
2
SSH with User in Member Domain
...x 1 root root 40 Dez 8 18:00
/lib/x86_64-linux-gnu/libnss_winbind.so.2 ->
/usr/local/samba/lib/libnss_winbind.so.2
/etc/pam.d# cat common-session
..
....
and here are more per-package modules (the "Additional" block)
session required pam_unix.so
session optional pam_systemd.so
session optional pam_winbind.so
session optional pam_mkhomedir.so skel=/etc/skel umask=077
Any ideia ?
Regards;
2019 Jun 14
2
AD home drive
...s, remote sessions etc.
# See "man pam_umask".
session optional pam_umask.so
# and here are more per-package modules (the "Additional" block)
session required pam_unix.so
session optional pam_winbind.so
session optional pam_systemd.so
# end of pam-auth-update config
Permissions of /home
drwxr-xr-x 225 root root 225 Jun 14 05:22 home
smb.conf: Home
[homes]
comment = Home Directories
# create mask = 0700
# directory mask = 0700
# browseable = No
read only = No
path = /home/%U/s...
2015 May 11
0
ldap host attribute is ignored
...authtok_type=
password sufficient pam_unix.so md5 shadow nullok try_first_pass
use_authtok
password sufficient pam_sss.so use_authtok
password required pam_deny.so
session optional pam_keyinit.so revoke
session required pam_limits.so
-session optional pam_systemd.so
session [success=1 default=ignore] pam_succeed_if.so service in
crond quiet use_uid
session required pam_unix.so
session optional pam_sss.so
My /etc/pam.d/password-auth:
#%PAM-1.0
# This file is auto-generated.
# User changes will be destroyed the next time authconfig is r...
2015 May 11
0
ldap host attribute is ignored
...t pam_unix.so md5 shadow nullok try_first_pass
> use_authtok
> password sufficient pam_sss.so use_authtok
> password required pam_deny.so
>
> session optional pam_keyinit.so revoke
> session required pam_limits.so
> -session optional pam_systemd.so
> session [success=1 default=ignore] pam_succeed_if.so service in
> crond quiet use_uid
> session required pam_unix.so
> session optional pam_sss.so
>
> My /etc/pam.d/password-auth:
> #%PAM-1.0
> # This file is auto-generated.
> # User changes wi...
2014 Oct 29
1
samba ssh change password Error was: Wrong password
...tok_type=
password sufficient pam_unix.so md5 shadow nullok try_first_pass
use_authtok
password sufficient pam_winbind.so use_authtok
password required pam_deny.so
session optional pam_keyinit.so revoke
session required pam_limits.so
-session optional pam_systemd.so
session optional pam_mkhomedir.so skel=/etc/skel/ umask=0077
session [success=1 default=ignore] pam_succeed_if.so service in crond
quiet use_uid
session required pam_unix.so
session optional pam_winbind.so
----------------------------------------------------------...