On Fri, Jan 10, 2014 at 02:45:24AM -0600, Luis A. Guzmán García wrote: > El jue, 09-01-2014 a las 10:33 -0800, Vagrant Cascadian escribió: > > On Wed, Jan 08, 2014 at 01:57:01PM -0600, Luis A. Guzmán García wrote: > > > El mar, 07-01-2014 a las 23:42 -0800, Vagrant Cascadian escribió: > > > > On Wed, Jan 08, 2014 at 12:29:32AM -0600, Luis A. Guzmán García wrote:
> > > > Then create the users, copy the keys into place, lock down the key > > > > files (edit > > > > ARCH and TYPE at least): > > > > > > > > pubkey=/opt/ltsp/ARCH/root/.ssh/id_TYPE.pub > > > > auth_keys_dir=/var/lib/custom/authorized_keys/ > > > > for u in $(seq 20 250); do > > > > u="ltsp${u}" > > > > key=${auth_keys_dir}/${u} > > > > adduser --disabled-password --no-create-home --gecos ,,, ${u} > > > > cp ${pubkey} ${key} > > > > chown root:${u} ${key} > > > > chmod 0640 ${key} > > > > done > > > ^ ^ > > > ^ Where should i put this ^, as shell script, chroot, lts.conf, > > > common-auth? > > > > It's a script to be run from the server. adjust the "seq" line for your ip > > address ranges, or anything else appropriate to your configuration. It > > assumes > > each user has their own group with the same groupname as the username. > I got it the first time, but i mean, what triggers it? > Or if i run it once, will it create the 230 accounts.... nop that's not > the case. Yes, it's a one-time thing that you run on the server. It should create accounts "ltsp30" through "ltsp250". > > > > There are many other details of things you *could* try, but that's the > > > > basic > > > > configuration that's worked reasonably well for me. > > I really like the way you set it up, even when i'm not quite following > the details of it. > > After i ran, > > ltsp-chroot ssh-keygen > > my system got no admin rights on any admin user, i know that wasn't > suppose to happen, right? Any how i made a quick re-installation, built > the server, users, etc. I don't really understand what you mean here... you will need to run ltsp-chroot as root, either with sudo or su. It will create the keys you need to configure the ltspN users with. live well, vagrant ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _____________________________________________________________________ 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