Re: guest logins created with script
Dashamir Hoxha <[email protected]> Mon, 11 Mar 2019 12:03:55 +0100
| Newsgroups | gmane.linux.terminal-server.general |
|---|---|
| Message-ID | <CAMucfLymf0UUQ-pLTdaF537u9bRSb32YVCZ5Ju3WjDbQq3ViBA@mail.gmail.com> |
On Mon, Mar 11, 2019 at 10:36 AM Mark Pengelly <markshop-q9sPVrG2Mx0k+I/[email protected]> wrote: > I've used the script referred to on Dashamir's ltsp scenarios website as I > create a public/guest lab; I assume the latest version of that is here: > > https://gitlab.com/Virtual-LTSP/VirtualBox/blob/bionic/scripts/create-guest-accounts.sh > The script appeared to run fine (xubuntu 18.04 server). > > Sorry to be dim but some little questions follow: > What/where are the passwords for the (template) 'guest' account and the > 255 other client accounts? > The paswords for the 255 guest accounts are the same as the username (for examle username=ltsp125, password=ltsp125) Since these are guest accounts I thint that this does not matter. Also at the end of the script there is a configuration like this: `@guest hard maxlogins 1` which I believe prevents somebody to login at the same account that a guest user is currently logged in. The password for the 'guest' template account is here: https://gitlab.com/Virtual-LTSP/VirtualBox/blob/bionic/scripts/create-guest-accounts.sh#L5 It can be passed to the script as an argument and it has a default value of 'pass'. For example this is how it is called from some other script: https://gitlab.com/Virtual-LTSP/VirtualBox/blob/bionic/ltsp-server/install.sh#L186 I admit that it is not so obvious that a password should be passed as a parameter to the script. Maybe I should fix it so that the script complains if it does not get some arguments. > > I think I expected the guest user accounts to be named 'guestXX' but they > are named 'ltspXX'. Is that as expected? > 'ltsp' is the defult value for the basename: https://gitlab.com/Virtual-LTSP/VirtualBox/blob/bionic/scripts/create-guest-accounts.sh#L6 So, it is configurable on the script. But I think that the basename should match the directive HOSTNAME_BASE on `ltsp.conf` (whose default value is 'ltsp'), other it may not work. I beleive there is also a recently added directive on `ltsp.conf` about making a mapping from HOSTNAME_BASE to the guest username, but when I tested it, it didn't work. Maybe I did not test it properly, I am not sure. Dashamir > > Perhaps there were some variables in the script I should have amended? > > Thanks for any pointers, Mark > _____________________________________________________________________ > Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: > https://lists.sourceforge.net/lists/listinfo/ltsp-discuss > For additional LTSP help, try #ltsp channel on irc.freenode.net > _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net