PDA

View Full Version : adding users like knoppix



soulsurfer
04-22-2004, 02:15 PM
Hi,
I wanted to add users in addition to knoppix and be able to follow suit with how the knoppix user is created on bootup by copying the /etc/skel. I'd also like to add a user that logs in with a single application full screen for a demo. And the users would be decided in kdm on bootup. So basically, I could log in as user cashier to start into a single application cashier program, or I could log in as user "manager" which would be like the knoppix user, starting in kde.
I obviously can't just adduser because the /home/user directory is created on bootup. I guess for the manager account, I could run the same script that is used to create knoppix, changing the $USER variable to manager. Is the script that copies the skel and creates the /ramdisk/home/knoppix /etc/X11/Xsession.d/45xsession?
How can I run it twice for 2 users? and how can i edit it to simplify another xwindows startup method for the single application to run?
Thanks,
Tony