Hi Stefan,

The backend seems to be the sqlite one:

root@lucas:~# grep backend /etc/x2go/x2gosql/sql
backend=sqlite

'Scraping the entry from the database' doesn't sound too appealing to me. I had 
hoped for a '--force' option to x2goterminate-session or sth. similar. Creating 
an user account of the same name as the former NIS one locally, seems to be a 
workaround: The session is gone, no more messages in /var/log/auth.log.

Thank you, anyway!

Holger
________________________________________
Von: x2go-user [[email protected]]" im Auftrag von 
"Stefan Baur [[email protected]]
Gesendet: Montag, 3. April 2017 16:26
An: [email protected]
Betreff: Re: [X2Go-User] Terminating a session of a no longer existent user 
fails (trying to su forever)

Am 03.04.2017 um 16:07 schrieb [email protected]:

> I'm failing to terminate a session of a no longer existing NIS user.
>
> Situation
> -------------
> User accounts are imported via NIS by the X2Go server ('lucas'). Home 
> directories are mounted via NFS.
> Recently, an account ('prakti03') was deleted on the NIS server, and the 
> corresponding home directory purged from the file server, while there was 
> still a X2Go session running on the X2Go server.
>
[...]

> Question:
> --------------
> How can I make X2Go 'terminate the session'? ('Session' in quotation marks, 
> as there are no processes with the user's (numerical) UID running anymore.)

Sounds like you will have to scrape the entry from the database.

Are you using the Postgres or the SQLite backend?

(run "grep backend /etc/x2go/x2gosql/sql" as root to find out)

-Stefan

--
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243

_______________________________________________
x2go-user mailing list
[email protected]
http://lists.x2go.org/listinfo/x2go-user

Reply via email to