What does pampassword=asksame
do?
#2243
Replies: 2 comments 2 replies
-
As far as I grepped source code, I'm still not sure |
Beta Was this translation helpful? Give feedback.
-
There are two things going on here:-
So as an extreme example, with this config on the current development build:- [Xvnc]
name=Xvnc
lib=libvnc.so
Username=askxtestuser
Password=ask
pamusername=asksame
pampassword=asksame
ip=127.0.0.1
port=-1 I get this login box:- When I fill in the password field with the correct password, sesman authenticates the same user twice - once for the Obviously this isn't a useful example. I can't however think of a sensible use of |
Beta Was this translation helpful? Give feedback.
-
The example config in xrdp.ini shows using
pamusername=asksame
andpampassword=asksame
. When I use this setting, then the menu shows a user/password field when that section is selected and both fields are pre-populated with the wordsame
.Is
asksame
a keyword that's supposed to do something special, or is the syntax justpamusername=ask
to instruct sesman to show a username prompt andpamusername=askfoo
to have it show a username prompt pre-populated with "foo"?I don't see this documented in the man page nor on the wiki.
xrdp/xrdp/xrdp.ini.in
Line 256 in 7868622
Beta Was this translation helpful? Give feedback.
All reactions