Hi Ted,
On Mi 02 Okt 2013 23:09:52 CEST, Ted Barnes wrote:
> I realize this may be getting beyond an "x2go" question.....but
> based on our approach, would you suggest I do some more research on
> pam?
Based on your description: make your encfs home folders work with SSH
and I am pretty sure they will work with X2Go.
And yes: PAM would be my approach to take.
> Thanks Mike -
Welcome!
Mike
--
DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31
mail: mike.gabriel(a)das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x…
Hi Ted,
On Mi 02 Okt 2013 02:44:42 CEST, Ted Barnes wrote:
> Am trying to launch a script at login to mount an encrypted
> partition. I've been trying the option to place a script and/or
> commands in /usr/lib/x2go/extensions/post-start.d/scriptname.sh. I
> can get this to work, but want to figure out a way to keep the
> password for the mount hidden.
>
> Q: if I compile the script with shc, can I call a binary using the
> /usr/lib/x2go/extensions/post-start.d/ approach? It appears right
> now that the compiled script/binary can only be started as root, and
> x2go seems to call scripts as the user logging in.
>
> Q: alternatively, if I put one script in
> /usr/lib/x2go/extensions/post-start.d/ that calls another that
> contains the mount command with the password, is there a way to make
> the called script callable from the user login but also not
> "viewable" by the user. I've tried things like "chmod 711" but the
> script's content either remain visible if it executes or the
> script's content can't can't be seen but it doesn't execute.
Can't this be handled by PAM (e.g. pam_mount [1]) somehow???
Mike
[1] http://www.novell.com/coolsolutions/feature/15354.html
--
DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31
mail: mike.gabriel(a)das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x…
Hi,
I am trying to set up x2go broker just for testing and found out that
opening https://myip:4430 or https://myip:4430/plain/zeroconf both shows
this error message in apache's error.log:
[Tue Oct 01 14:18:30 2013] [error] [client 87.151.247.206] mod_wsgi
(pid=16873, process='x2gobroker', application='localhost|'): Failed to
parse WSGI script file '/usr/sbin/x2gobroker'.
[Tue Oct 01 14:18:30 2013] [error] [client 87.151.247.206] mod_wsgi
(pid=16873): Exception occurred processing WSGI script
'/usr/sbin/x2gobroker'.
[Tue Oct 01 14:18:30 2013] [error] [client 87.151.247.206] File
"/usr/sbin/x2gobroker", line 146
[Tue Oct 01 14:18:30 2013] [error] [client 87.151.247.206] except
socket.error, e:
[Tue Oct 01 14:18:30 2013] [error] [client
87.151.247.206] ^
[Tue Oct 01 14:18:30 2013] [error] [client 87.151.247.206] SyntaxError:
invalid syntax
My python is weak at best, so I though I drop you mail about this.
OS: Debian Wheezy
root@termsrv:~# dpkg -l | grep x2go
ii cups-x2go 3.0.0.4-0~62~raring1 all
Virtual X2Go printer for CUPS
ii pinentry-x2go 0.7.5.6-0~45~raring1
amd64 Qt4-based PIN or pass-phrase entry dialog for x2goclient
ii python-x2go 0.4.0.8-0~1078~raring1 all
Python module providing X2Go client API
ii python-x2gobroker 0.0.2.3-0~429~raring1
all X2Go http(s) based session broker (Python modules)
ii x2goagent 2:3.5.0.21-0~358~ubuntu13.04.1 all
X2Go agent
ii x2gobroker 0.0.2.3-0~429~raring1 all
X2Go http(s) based session broker (executable)
ii x2gobroker-agent 0.0.2.3-0~429~raring1
amd64 X2Go http(s) based session broker (common files)
ii x2gobroker-authservice 0.0.2.3-0~429~raring1
all X2Go http(s) based session broker (PAM authentication service)
ii x2gobroker-daemon 0.0.2.3-0~429~raring1
all X2Go http(s) based session broker (daemon)
ii x2gobroker-wsgi 0.0.2.3-0~429~raring1
all X2Go http(s) based session broker (CGI)
ii x2gocdmanager 1.1.0.0-0~426~raring1
amd64 clientside daemon enabling automatic CD-Rom mounting
ii x2goclient 4.0.1.1-0~427~ubuntu13.04.1 amd64
X2Go Client application (Qt4)
ii x2godesktopsharing 3.1.1.0-0~104~raring1
amd64 share X2go desktops with other users (via shadow sessions)
ii x2goplugin 4.0.1.1-0~427~ubuntu13.04.1 amd64
X2Go Client (Qt4) as browser plugin
ii x2goserver 4.0.1.6-0~712~raring1 amd64
X2Go server daemon scripts
ii x2goserver-extensions 4.0.1.6-0~712~raring1
all X2Go server daemon scripts (extensions)
ii x2goserver-printing 4.0.1.6-0~712~raring1
all X2Go server daemon scripts (printing)
ii x2goserver-xsession 4.0.1.6-0~712~raring1
all X2Go server daemon scripts (Xsession runner)
ii x2gosmartcardrules 1.1.0.0-0~426~raring1
all UDEV rules for smartcard readers
ii x2gousbmount 1.1.0.0-0~426~raring1 all
clientside usb mass-storage device mounting
root@termsrv:~#
cheers
Mathias
Hi,
I am trying to set up x2go broker just for testing and found out that
opening https://myip:4430 or https://myip:4430/plain/zeroconf both shows
this error message in apache's error.log:
[Tue Oct 01 14:18:30 2013] [error] [client 87.151.247.206] mod_wsgi
(pid=16873, process='x2gobroker', application='localhost|'): Failed to
parse WSGI script file '/usr/sbin/x2gobroker'.
[Tue Oct 01 14:18:30 2013] [error] [client 87.151.247.206] mod_wsgi
(pid=16873): Exception occurred processing WSGI script
'/usr/sbin/x2gobroker'.
[Tue Oct 01 14:18:30 2013] [error] [client 87.151.247.206] File
"/usr/sbin/x2gobroker", line 146
[Tue Oct 01 14:18:30 2013] [error] [client 87.151.247.206] except
socket.error, e:
[Tue Oct 01 14:18:30 2013] [error] [client 87.151.247.206]
^
[Tue Oct 01 14:18:30 2013] [error] [client 87.151.247.206] SyntaxError:
invalid syntax
My python is weak at best, so I though I drop you mail about this.
OS: Debian Wheezy
root@termsrv:~# dpkg -l | grep x2go
ii cups-x2go 3.0.0.4-0~62~raring1 all
Virtual X2Go printer for CUPS
ii pinentry-x2go 0.7.5.6-0~45~raring1 amd64
Qt4-based PIN or pass-phrase entry dialog for x2goclient
ii python-x2go 0.4.0.8-0~1078~raring1 all
Python module providing X2Go client API
ii python-x2gobroker 0.0.2.3-0~429~raring1 all
X2Go http(s) based session broker (Python modules)
ii x2goagent 2:3.5.0.21-0~358~ubuntu13.04.1 all
X2Go agent
ii x2gobroker 0.0.2.3-0~429~raring1 all
X2Go http(s) based session broker (executable)
ii x2gobroker-agent 0.0.2.3-0~429~raring1 amd64
X2Go http(s) based session broker (common files)
ii x2gobroker-authservice 0.0.2.3-0~429~raring1
all X2Go http(s) based session broker (PAM authentication service)
ii x2gobroker-daemon 0.0.2.3-0~429~raring1 all
X2Go http(s) based session broker (daemon)
ii x2gobroker-wsgi 0.0.2.3-0~429~raring1 all
X2Go http(s) based session broker (CGI)
ii x2gocdmanager 1.1.0.0-0~426~raring1 amd64
clientside daemon enabling automatic CD-Rom mounting
ii x2goclient 4.0.1.1-0~427~ubuntu13.04.1 amd64
X2Go Client application (Qt4)
ii x2godesktopsharing 3.1.1.0-0~104~raring1 amd64
share X2go desktops with other users (via shadow sessions)
ii x2goplugin 4.0.1.1-0~427~ubuntu13.04.1 amd64
X2Go Client (Qt4) as browser plugin
ii x2goserver 4.0.1.6-0~712~raring1 amd64
X2Go server daemon scripts
ii x2goserver-extensions 4.0.1.6-0~712~raring1 all
X2Go server daemon scripts (extensions)
ii x2goserver-printing 4.0.1.6-0~712~raring1 all
X2Go server daemon scripts (printing)
ii x2goserver-xsession 4.0.1.6-0~712~raring1 all
X2Go server daemon scripts (Xsession runner)
ii x2gosmartcardrules 1.1.0.0-0~426~raring1 all
UDEV rules for smartcard readers
ii x2gousbmount 1.1.0.0-0~426~raring1 all
clientside usb mass-storage device mounting
root@termsrv:~#
cheers
Mathias