liftoff / GateOne

Gate One is an HTML5-powered terminal emulator and SSH client
http://liftoffsoftware.com/Products/GateOne
Other
6.26k stars 925 forks source link

PAM Authentication and %USER%... #719

Open milu-milu opened 5 years ago

milu-milu commented 5 years ago

Hi! I'm testing GateOne and it seems great! Congrats! I'm trying to define some already prepared terminal sessions and I have found some issues. If I need to define some session with an explicit username I can create the command with the username. That's ok. But I want to define a new session which will use the already authenticated username but will only allow to connect to some specific host. Thus, each user, when he logs to the system, automatically can see several terminals. But will not be able to define a different session or different logins. Thus, I have enabled PAM authentication. But when I try to use the %LOGIN% it's translated to $username@$pam_realm. Is there any other public variable like %loginname% I can use in 50terminal.conf?

Thanks in advance,