How do I create local user accounts within LCFGng?
You may need to create local accounts within LCFGng to allow local staff access to certain machines. To do this, you can add the following to site-cfg.h for all machines, or to specific machine profiles.
EXTRA(auth.users) testuser +auth.usercomment_testuser Test User +auth.userhome_testuser /home/testuser +auth.usergroup_testuser testgroup +auth.useruid_testuser 1000 +auth.userpwd_testuser <crypted passwd>
Just make sure that useruid_testuser doesn't conflict with anything else. To generate <crypted passwd>, use the openssl passwd -1 utility.
Also, if the group "testgroup" does not already exist, it will be necessary to create it earlier in the file:EXTRA(auth.groups) testgroup
Last modified Tue 20 July 2004 . View page history
Switch to HTTPS . Website Help . Print View . Built with GridSite 1.4.3