projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c2630e
)
pam-module: use the correct session type "unspecified"
author
Michal Schmidt
<mschmidt@redhat.com>
Sat, 19 Nov 2011 00:14:11 +0000
(
01:14
+0100)
committer
Michal Schmidt
<mschmidt@redhat.com>
Sat, 19 Nov 2011 00:14:11 +0000
(
01:14
+0100)
logind does not understand "other".
src/pam-module.c
patch
|
blob
|
history
diff --git
a/src/pam-module.c
b/src/pam-module.c
index
dd05f93
..
e650886
100644
(file)
--- a/
src/pam-module.c
+++ b/
src/pam-module.c
@@
-472,7
+472,7
@@
_public_ PAM_EXTERN int pam_sm_open_session(
get_seat_from_display(display, &seat, &vtnr);
type = !isempty(display) ? "x11" :
- !isempty(tty) ? "tty" : "
other
";
+ !isempty(tty) ? "tty" : "
unspecified
";
remote = !isempty(remote_host) && !streq(remote_host, "localhost") && !streq(remote_host, "localhost.localdomain");