Christian wrote:
Ludwig Nussel schrieb:
Don't use world writeable directories for such hacks!
Do you have a suggestion ? perhaps /root/ ?
/var/run would be a better place.
212 %{__cat} >> /etc/sudoers << EOF
*shudder* don't touch that file!
This is easy saying. Please tell me how to add needed stuff to sudoers without breaking perm/ownership.
You don't add stuff to the sudoers file. You could at most document what changes are needed to enable sudo support. However, not involving sudo all would be even better.
240 sed -i -e "s,@FQDN@,$(hostname -f)," -e "s,@ALIAS@,$(hostname -s), ...
This will cause DNS lookups during install. If at all use the value from /etc/HOSTNAME instead.
I always thought: - at first files are read - at second dns is asked
isn't it ?
Well, if you are lucky /etc/hosts will prevent an actual DNS lookup but you can't rely on that. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org