Op 16-04-2008 om 12:07 schreef Armin ranjbar: > Hi list , > > is there any way to deny Simple password for root on > 'passwd/root-password' when we are on pressed installation ? ( I did read 'pressed' as 'preseeded' ) IMNSHO is surpressing the "deny simple password" wrong. There is another way to have a simple password for root and not getting the too simple password warning. Use md5crypt password in the preseed file. From http://d-i.alioth.debian.org/manual/en.mips/apbs04.html#preseed-account | # Root password, either in clear text | #d-i passwd/root-password password r00tme | #d-i passwd/root-password-again password r00tme | # or encrypted using an MD5 hash. | #d-i passwd/root-password-crypted password [MD5 hash] A possible way to generate the crypted password is by grub. Example: | # (echo md5crypt; echo god; echo quit) | md5crypt | god | quit | # (echo md5crypt; echo god; echo quit) | grub --batch | Probing devices to guess BIOS drives. This may take a long time. | | | GNU GRUB version 0.95 (640K lower / 3072K upper memory) | | [ Minimal BASH-like line editing is supported. For the first word, TAB | lists possible command completions. Anywhere else TAB lists the | possible | completions of a device/filename. ] | grub> md5crypt | Password: god | Encrypted: $1$7aYnS$G6y0MlYJuiLfA0XCn03X./ | grub> quit | # So the preseed line will be ( should be[1]) | d-i passwd/root-password-crypted password $1$7aYnS$G6y0MlYJuiLfA0XCn03X./ I hope this helps. Cheers Geert Stappers Notes: [1] It should be, I haven't used it my self yet. I just know that | $ echo god | md5sum | cc78fe3fc231895879e726ff46a16131 - and | d-i passwd/root-password-crypted password cc78fe3fc231895879e726ff46a16131 didn't work.
Attachment:
signature.asc
Description: Digital signature