Terrible sorry... I keep on... I know I should have collected my 3 mails in one - just keep discovering things in the autoyast file, promise I have no more questions to ask... for now ;) but in my earlier post I asked about how to put in an unencrypted password as I wan't to use the same answerfile for both the encrypted and non-encrypted password in the autoyast file - I think I was misunderstood, therefore I've brought an example of what I mean with the encrypted password: <user> <encrypted config:type="boolean">true</encrypted> <fullname>root</fullname> <gid>0</gid> <home>/root</home> <password_settings> <flag></flag> <inact>-1</inact> <max>99999</max> <min>0</min> <warn>7</warn> </password_settings> <shell>/bin/bash</shell> <uid>0</uid> <user_password>$2a$05$sHdD98OBVc8o0INAsKiwqe/WqjGedS9ukruP0/75fSpmfdldjALy</user_password> <username>root</username> </user> The string in <user_password> seems to me to be encrypted considering what I've typed in ;) In order to type in a clear textpassword, is it enough to set <encrypted config:type="boolean">false</encrypted> . . <user_password>mytopsecretpassword</user_password> ? Regards Flemming
Uwe Gansert <ug@suse.de> 19. november 2007 16:48:41 >>> On Montag, 19. November 2007, Hougaard wrote:
- if I use the "<file>/tmp/answer_hostname</file>", what is the format of the answer file?? just an empty text file with the answer or?
it's a textfile with only the string of the answer. In case of a boolean it's "true" or "false" (without quotes), in case of textentries it's the exact string that was entered by the user.
- what about the value to be exchanged? should it be empty, or will any predefined value be exchanged with the one asked for?
does not matter. Empty or not, it will be replaced.
- Will it be possible to answer serveral "paths" with the same question?? eg. below
unfortunately not. That's a design bug I did there. I'll fix that in the future somehow without breaking compatibilty
<ask> <path>arkmanager,dbpassword</path> <path>ca_mgm,password</path> <question>Type Password</question> <stage>initial</stage> <default>Type in your password here</default> </ask>
or is there, a more clever solution to such a question?
- How about the password... is it possible to get this read from an clear text string? (I'm installing OES2, and there are several
with 10.3 you could change the profile via script but with OES2 there is no really clever solution other than write a script and do the changes to the system by yourself with it. passwords
and some are written in clear text, and some ain't)
if you need the password in an encrypted way, then you have to <ask> the user to enter it encrypted (*haha* - good one) or you encrypt it via script and write it to the correct position in the system. -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug now playing The Retrosic - Quid pro Quo -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org