[PATCHES] live-initramfs: fix for root directory permissions and grep line possbly returning more than one line

2009-06-19 Thread Luigi Capriotti
Hello, pls find attached a couple of diffs, fixing relaxed permissions of / in the live filesystem and possible invalid results from function where_is_mounted. Best regards Luigi Capriotti diff --git a/scripts/live b/scripts/live index 683afa2..a966070 100755 --- a/scripts/live +++ b/scripts/

Re: [PATCHES] live-initramfs: fix for root directory permissions and grep line possbly returning more than one line

2009-06-19 Thread Daniel Baumann
Luigi Capriotti wrote: > fixing relaxed permissions of / > in the live filesystem and why is that needed? > possible invalid results from > function where_is_mounted. how's that possible? i though devices to mountpoints are bijective (in the initramfs stage). -- Address:Daniel Baumann,

Re: [PATCHES] live-initramfs: fix for root directory permissions and grep line possbly returning more than one line

2009-06-19 Thread Luigi Capriotti
Daniel Baumann wrote: Luigi Capriotti wrote: fixing relaxed permissions of / in the live filesystem and why is that needed? because without chmoddin $rootmnt, / on the live system is writable for regular users. possible invalid results from function where_is_mounted. how's that possible?

Re: [PATCHES] live-initramfs: fix for root directory permissions and grep line possbly returning more than one line

2009-06-19 Thread Daniel Baumann
Luigi Capriotti wrote: > Daniel Baumann wrote: >> Luigi Capriotti wrote: >>> fixing relaxed permissions of / >>> in the live filesystem and >> >> why is that needed? > because without chmoddin $rootmnt, / on the live system is writable for > regular users. applied. >>> possible invalid results fr

Shutdown automatically

2009-06-19 Thread Mohd-Khairulhazim.GHAZALI
Hello, Thank you for the tip. I add the word quickreboot in my syslinux/menu.cfg file and it works. Regards, Hazim This message was sent using IMP, the Internet Messaging Program. -- To UNSUBSCRIBE, email to debian-l

how to use source

2009-06-19 Thread Umarzuki Mochlis
i can see there are sources of debian live but how i can use it to create my own live cd? -- Regards, Umarzuki Mochlis http://gameornot.net

Re: how to use source

2009-06-19 Thread Daniel Baumann
Umarzuki Mochlis wrote: > i can see there are sources of debian live but how i can use it to > create my own live cd? sources of images distributed by debian consists of a tarball that contains two tarballs within, one with the debian source packages for the debian binary packages that were includ

Re: how to use source

2009-06-19 Thread Umarzuki Mochlis
thanks for the info 2009/6/19 Daniel Baumann > Umarzuki Mochlis wrote: > > i can see there are sources of debian live but how i can use it to > > create my own live cd? > > sources of images distributed by debian consists of a tarball that > contains two tarballs within, one with the debian sour

Root password problem

2009-06-19 Thread Adam Mooz
Hey list, First post! :) So I'm building a faily-specialized live-cd which requires that I am able to get root access when the disk is booted. I've done just about everything I can think of to get this going, following the suggestions on the wiki, I cannot change the root password or the passwor

Re: Root password problem

2009-06-19 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Jun 19, 2009 at 11:12:51AM -0400, Adam Mooz wrote: > Hey list, > > First post! :) [...] > root password to be blank, no luck! Do you really need a root password? Note that the standard live user has sudo capabilities. Regards - -- tomás ---

Re: Root password problem

2009-06-19 Thread Daniel Baumann
Adam Mooz wrote: > How can I set the root password to be blank cat > config/chroot_local-hooks/empty-root-password.sh << EOF #!/bin/sh passwd -d EOF > or better yet a pre-defined password? cat > config/chroot_local-hooks/predefined-root-password.sh << EOF #!/bin/sh echo "root:predefined_passwo

Re: Root password problem

2009-06-19 Thread Daniel Baumann
Daniel Baumann wrote: > passwd -d typo, should be 'passwd -d root' instead. -- Address:Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist Email: daniel.baum...@panthera-systems.net Internet: http://people.panthera-systems.net/~daniel-baumann/ -- To UNSUBSCRIBE, email

invalid option

2009-06-19 Thread Umarzuki Mochlis
by referring to the manual, i try a quick one liner command and surprised that most options are incorrect are the options changed already or i did miss anything? below is the command and output, thanks lh_build -a i386 -p rescue --apt aptitude --hostname debian-rescue --username rescue --mirror-b

Re: invalid option

2009-06-19 Thread Daniel Baumann
Umarzuki Mochlis wrote: > or i did miss anything? you did. lh_build doesn't take arguments (except the live-helper common options), but lh_config does. generally, such questions can be easily answered by reading the manpage. -- Address:Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberis

Re: [PATCHES] fix for Ubuntu support, live-initramfs

2009-06-19 Thread Daniel Baumann
update on the matter.. Luigi Capriotti wrote: > * lack of 'wc' support in initrd busybox 13:14:44 < lcapriotti> FYI, busybox (1:1.13.3-1ubuntu1) karmic * [initramfs] Include wc for the benefit of live-initramfs (LP: #387944). > * lack of /lib/udev/cdrom_id in Jaunty unknown; does it also apply

Re: invalid option

2009-06-19 Thread Umarzuki Mochlis
2009/6/20 Daniel Baumann > Umarzuki Mochlis wrote: > > or i did miss anything? > > you did. > > lh_build doesn't take arguments (except the live-helper common options), > but lh_config does. generally, such questions can be easily answered by > reading the manpage. > ah...toying early in the mor

Re: Root password problem

2009-06-19 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Jun 19, 2009 at 11:12:51AM -0400, Adam Mooz wrote: > Hey list, [...] > [...] Allowing sudo su access might not be the best idea > for the implementation so in the final disk I'd like to avoid using sudo. Then I wrote: > D