adding users and groups to live CDForum: User Feedback Topic: adding users and groups to live CD started by: softgun Posted by softgun on Feb. 23 2005,15:55
How can we add a new user and group to a live CD and make it permanent so that this user is always available eacgh time we bootup with this live CD?
Posted by tronik on Feb. 23 2005,18:52
make sure the passwd and shadow and group files aren't symlinked to the ramdisk, /etc is unpackaged each time you boot.then, you can user 'useradd' or some other form of user adding or removing (i prefer vipw)..this will modify those files (passwd/shadow) and possibly group... then tell your filetool.lst to backup those files /etc/passwd /etc/shadow and when you reboot the users will be restored. enjoy. Posted by softgun on Feb. 24 2005,02:16
Thank you. How do I make sure these symlinks to ramdisk exist? Can I change this behaviour? How? Posted by clivesay on Feb. 24 2005,02:42
If you search the forum for shadow AND passwd you should find all the info you need. Other people are doing this with livecd and frugal.Chris |