Hi all, we autoinstall Suse 9.0. It work better and better but there still some problems: 1. we have not succeeded to set a root passowrd per autoinstall. 2. The sound module makes post installation after the first log in and the Master volume ist at zero. We use the onboard sound on the motherboard ASUS P4P800 Delux Hier ist the sound section in the controll file <sound> <autoinstall config:type="boolean">true</autoinstall> <modules_conf config:type="list"> <module_conf> <alias>snd-card-0</alias> <model>82801DB-ICH4, Intel</model> <module>snd-intel8x0</module> <options> <snd_ac97_clock>0</snd_ac97_clock> <snd_enable>1</snd_enable> <snd_index>0</snd_index> </options> <unique_key>uniq.virtual</unique_key> </module_conf> </modules_conf> <volume_settings config:type="list"> <listentry> <Master config:type="integer">75</Master> </listentry> </volume_settings> </sound> Does any one has any hint how to fix these? Thanks Dominic
Am Dienstag, 30. März 2004 16:30 schrieb Dominic Lukwata:
Hi all,
we autoinstall Suse 9.0. It work better and better but there still some problems:
1. we have not succeeded to set a root passowrd per autoinstall.
<users config:type="list"> <user> <username>root</username> <user_password>7O4i0guZ.S.ps</user_password> <encrypted>true</encrypted> <forename/> <surname/> </user> </users>
2. The sound module makes post installation after the first log in and the Master volume ist at zero. We use the onboard sound on the motherboard ASUS P4P800 Delux
Hier ist the sound section in the controll file
<sound> <autoinstall config:type="boolean">true</autoinstall> <modules_conf config:type="list"> <module_conf> <alias>snd-card-0</alias> <model>82801DB-ICH4, Intel</model> <module>snd-intel8x0</module> <options> <snd_ac97_clock>0</snd_ac97_clock> <snd_enable>1</snd_enable> <snd_index>0</snd_index> </options> <unique_key>uniq.virtual</unique_key> </module_conf> </modules_conf> <volume_settings config:type="list"> <listentry> <Master config:type="integer">75</Master> </listentry> </volume_settings> </sound>
<volume_settings config:type="list"> <volume_entry> <Master config:type="integer">75</Master> </volume_entry> </volume_settings> This works for us... Thomas Mack TU Braunschweig, Abt. Informationssysteme
On Tuesday 30 March 2004 08:04 am, Thomas Mack wrote:
Am Dienstag, 30. März 2004 16:30 schrieb Dominic Lukwata:
Hi all,
we autoinstall Suse 9.0. It work better and better but there still some problems:
1. we have not succeeded to set a root passowrd per autoinstall.
<users config:type="list"> <user> <username>root</username> <user_password>7O4i0guZ.S.ps</user_password> <encrypted>true</encrypted> <forename/> <surname/> </user> </users>
I'm unable to get the above section to work on 8.1, but there is a workaround from the archives: <post-scripts config:type="list"> <script> <filename>setrootpw</filename> <interpreter>shell</interpreter> <source> <![CDATA[#!/bin/sh /usr/bin/perl -pi -e 's/^root::.*/root:[encrypted passwd]::0:10000::::/' /etc/shadow ]]> </source> </script> This works fine for me. hth -ben
Hi all, Thanks Benjamin and Thomas for the hints about root password and sound. For the root password we have tried the hint from Thomas: <user> .. <user_password> ... </user_password> .. </user> Unfortunately it did not work. If I enter a password then I cannot log in as root. Possibly the root password entered is not the one set in the control file. Is there an idea how to fix this? Also using a perl script to enter a root password in /etc/shadow as recommended my Benjamin did not work. The script did not enter anything in /etc/shadow. May be there is a mistake, which we cannot discover at once! After a lot of trials we decided to autoinstall one workstation without a root password. Then we changed the root passord after first login. We copied the resulted /etc/shadow to the installation server. During the autoinstallation of other workstations we just coppied this file to /etc/shadow. Then we could use the root password we set on the first workstation. Sound: This has also not worked either. After using <volume_entry> ... </volume_entry> to set the volume of Master to 75, the volume of master after autoinstallalion was still 0. At the first login of root yast2 start with the message that a new (sound) component is found and goes on to configure it. I have included the fragments of the control file to show the 1. <sound> ... </sound> to show the section of setting volume. 2. section <user> ... </user>, which is now commented out 3. <sript> ... </script> to copy the created shadow to /etc/shadow 4. <sript> ... </script> to show the perl script to enter the root pasword in /etc/shadow ... <configure> ... <sound> <autoinstall config:type="boolean">true</autoinstall> <modules_conf config:type="list"> <module_conf> <alias>snd-card-0</alias> <model>82801DB-ICH4, Intel</model> <module>snd-intel8x0</module> <options> <snd_ac97_clock>0</snd_ac97_clock> <snd_enable>1</snd_enable> <snd_index>0</snd_index> </options> <unique_key>uniq.virtual</unique_key> </module_conf> </modules_conf> <volume_settings config:type="list"> <volume_entry> <Master config:type="integer">75</Master> </volume_entry> </volume_settings> </sound> ... <!-- <users config:type="list"> <user> <encrypted config:type="boolean">false</encrypted> <username>root</username> <user_password></user_password> <forename></forename> <surname></surname> </user> </users> --> <scripts> <post-scripts config:type="list"> <script> <filename>post.sh</filename> <interpreter>shell</interpreter> <source> <![CDATA[ #!/bin/sh echo "-- Post-Scripts --" ... cp /packages/configs/etc/shadow /etc/ ... ]]> </source> </script> <script> <filename>setrootpw</filename> <interpreter>shell</interpreter> <source> <![CDATA[ #!/bin/sh echo "root-Passwort setzen" /usr/bin/perl -pi -e 's/^root:.*/root:RNChlL1Yh4VhY:12510:0:10000::::/' /etc/shadow ]]> </source> </script> </post-scripts> </scripts> </configure> Thanks Dominic On Tue, 30 Mar 2004, Benjamin P Myers wrote:
On Tuesday 30 March 2004 08:04 am, Thomas Mack wrote:
Am Dienstag, 30. März 2004 16:30 schrieb Dominic Lukwata:
Hi all,
we autoinstall Suse 9.0. It work better and better but there still some problems:
1. we have not succeeded to set a root passowrd per autoinstall.
<users config:type="list"> <user> <username>root</username> <user_password>7O4i0guZ.S.ps</user_password> <encrypted>true</encrypted> <forename/> <surname/> </user> </users>
I'm unable to get the above section to work on 8.1, but there is a workaround from the archives:
<post-scripts config:type="list"> <script> <filename>setrootpw</filename> <interpreter>shell</interpreter> <source>
<![CDATA[#!/bin/sh /usr/bin/perl -pi -e 's/^root::.*/root:[encrypted passwd]::0:10000::::/' /etc/shadow ]]>
</source> </script>
This works fine for me. hth -ben
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
participants (3)
-
Benjamin P Myers
-
Dominic Lukwata
-
Thomas Mack