[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

10adduser and --sections problems



I'm having two problems at the moment. One is with some file called
"10adduser" the other is with using the option "--sections." I can't
find the 10adduser file. The live-bottom directory doesn't even exist.
It doesn't exist. I'm using an up-to-date version of Sid, so many Sid
doesn't use 10adduser. I'm not sure.

First question to tackle is the --sections option.
Did it, and does it still, have a use?
Does it not exist anymore?
If it doesn't exist, could someone change the wiki and remove the fact
its in an example?

Now, onto the 10adduser issue.
The file doesn't exist.
the ./live-bottom/ directory doesn't exist.
I want to modify the username's and passwords of "root" and the "live"
user.

/
cp /usr/share/initramfs-tools/scripts/live-bottom/10adduser /ramdisk/debian-live/config/chroot_local-includes/usr/share/initramfs-tools/scripts/live-bottom/

Here's what I'm trying to use 10adduser for:

#############################################
# User configuration
#############################################
# Change default username
lh_config --username linux
# Change default hostname
lh_config --hostname box
###
# Configure root's password
###
# Copy over hook file
cp /home/workstation/scripts/live-cd/files/hooks/01-update_password.sh /ramdisk/debian-live/config/chroot_local-hooks/
## Make the file executable
#chmod
+x /ramdisk/debian-live/config/chroot_local-hooks/01-update_password.sh
###
# Configure live-user's password
###
mkdir
-p /ramdisk/debian-live/config/chroot_local-includes/usr/share/initramfs-tools/scripts/live-bottom/
cp /usr/share/initramfs-tools/scripts/live-bottom/10adduser /ramdisk/debian-live/config/chroot_local-includes/usr/share/initramfs-tools/scripts/live-bottom/
# Copy over hook file
cp /home/workstation/scripts/live-cd/files/hooks/01-workstation_password.sh /ramdisk/debian-live/config/chroot_local-hooks/01-workstation_password.sh
## Make the file executable
chmod
+x /ramdisk/debian-live/config/chroot_local-hooks/01-workstation_password.sh


Reply to: