Fwd: ISLET user management

8 views
Skip to first unread message

Jon Schipp

unread,
Feb 12, 2015, 12:11:37 PM2/12/15
to islet
---------- Forwarded message ----------
From: Islet user
Date: Thu, Feb 12, 2015 at 8:09 AM
Subject: ISLET user management
To: Jon Schipp <jons...@gmail.com>


I might have missed this somewhere in the user documentation but how can I manage user identities that are born out of containers? I checked /etc/islet for clues but did not find anything.

Jon Schipp

unread,
Feb 12, 2015, 12:12:46 PM2/12/15
to islet
ISLET doesn't manage users in the images. The only thing it can do is tell you which user to become in the container
by setting the USER variable in the image config. Once a student connects and launches a configuration from the menu he will end up with a shell in the container as the account USER is set to. This means that the value of USER must be exist in the image so in your Dockerfile or w/e you must have a line for ``useradd myuser`` or similiar if you want to use a specific user.

Jon Schipp

unread,
Feb 12, 2015, 2:16:54 PM2/12/15
to islet
I made a mistake, VIRTUSER not USER is the variable that determines the user environment under which the student becomes. It used to be USER but that's no longer the case. The value of VIRTUSER is supplied as ``sudo -i -u $VIRTUSER'' upon launch of the container
Reply all
Reply to author
Forward
0 new messages