You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
Edit /etc/pam.d/remote and add the libcsmpam.so entries:
# cat /etc/pam.d/remote
#%PAM-1.0
auth required pam_securetty.so
auth substack password-auth
auth include postlogin
account required pam_nologin.so
account include password-auth
account required libcsmpam.so
password include password-auth
# pam_selinux.so close should be the first session rule
session required pam_selinux.so close
session required pam_loginuid.so
# pam_selinux.so open should only be followed by sessions to be executed in the user context
session required pam_selinux.so open
session required pam_namespace.so
session optional pam_keyinit.so force revoke
session include password-auth
session include postlogin
session required libcsmpam.so
systemctl restart rlogin.socket
Create a none-root user allocation
rsh into the compute node with none-root user:
-bash-4.2$ hostname
c650f02p07
-bash-4.2$ whoami
pizzano
-bash-4.2$ rsh c650f02p11
[csmapi]: The default log level: off...
[csmapi][debug] Socket Name /run/csmd.sock
[csmapi][debug] Log Level retrieved
[csmapi][debug] Not initialized
[csmapi][debug] Net inited
[csmapi][debug] /u/pizzano/CSM/CAST/csmnet/src/C/csm_network_local.c-654: Sending connection message
[csmapi][trace] Socket: 4 sending 5 @buffer: 0x4c625270 to /run/csmd.sock
[csmapi][trace] timeout (CSM_CMD_STATUS): 30000; loops 7
[csmapi][debug] starting CBThread on socket:
[csmapi][debug] /u/pizzano/CSM/CAST/csmnet/src/C/csm_network_local.c-1289: Received msg: cmd=208, msgId=1, flags=18
[csmapi][debug] /u/pizzano/CSM/CAST/csmnet/src/C/csm_network_local.c-688: Completing connect with rc=0...
[csmapi][debug] Before hdl
[csmapi][trace] csm_init_lib initialized (init_msg_id=811207610)
[csmapi][trace] Socket: 4 sending 45 @buffer: 0x4c625270 to /run/csmd.sock
[csmapi][trace] Unix::SendMsg id=811207611: Waiting for ACK
[csmapi][trace] timeout (CSM_CMD_cgroup_login): 30000; loops 7
[csmapi][trace] Received an ACK.
[csmapi][debug] /u/pizzano/CSM/CAST/csmnet/src/C/csm_network_local.c-1289: Received msg: cmd=59, msgId=811207611, flags=1
[csmapi][trace] /u/pizzano/CSM/CAST/csmi/src/common/src/csmi_common_utils.c-109: The msg for cmd 59 sent
[csmapi][trace] timeout (CSM_CMD_cgroup_login): 30000; loops 7
[csmapi][trace] Socket: 4 sending 0 @buffer: 0x4c625270 to /run/csmd.sock
[csmapi][debug] /u/pizzano/CSM/CAST/csmnet/src/C/csm_network_local.c-1289: Received msg: cmd=59, msgId=811207611, flags=6
[csmapi][trace] /u/pizzano/CSM/CAST/csmi/src/common/src/csmi_common_utils.c-123: Got response for cmd 59
[csmapi][info] /u/pizzano/CSM/CAST/csmi/src/common/src/csmi_common_utils.c-132: Recieve Payload len = 86
[csmapi][debug] /u/pizzano/CSM/CAST/csmi/src/common/src/csmi_common_utils.c-134: recvMsgId: 811207611 msgID: 811207611
[csmapi][warning] /u/pizzano/CSM/CAST/csmi/src/common/src/csmi_common_utils.c-147: the Error Flag Set
[csmapi][error] csmi_sendrecv_cmd failed: 36 - csm_cgroup_login[811207611]; User not authorized.
[csmapi][trace] TIMING: 811207611,59,api,1554737541635119421,1554737541636553771,1434350
[csmapi][debug] /u/pizzano/CSM/CAST/csmnet/src/C/csm_network_local.c-483: Sending disconnect message
[csmapi][trace] Socket: 4 sending 10 @buffer: 0x4c625270 to /run/csmd.sock
[csmapi][trace] Unix::SendMsg id=1558245471917122504: Waiting for ACK
[csmapi][trace] timeout (CSM_CMD_STATUS): 30000; loops 7
[csmapi][trace] Received an ACK.
[csmapi][debug] /u/pizzano/CSM/CAST/csmnet/src/C/csm_network_local.c-1289: Received msg: cmd=208, msgId=846930888, flags=19
[csmapi][debug] Executing callback thread cancellation handler
[csmapi][debug] thread exited by cancellation (socket: )
[csmapi][trace] csm_term_lib() done
Last login: Mon Apr 8 11:31:57 from c650f02p07
-bash-4.2$
The text was updated successfully, but these errors were encountered:
PAM.d debug level
How to recreate:
yum install rsh rsh-server
on the compute node/etc/pam.d/remote
and add the libcsmpam.so entries:systemctl restart rlogin.socket
rsh
into the compute node with none-root user:The text was updated successfully, but these errors were encountered: