Mailinglist Archive: opensuse-autoinstall (140 mails)

< Previous Next >
Re: [suse-autoinstall] User and Groups
  • From: "Ing. Wolfgang Skabrond" <skabrond@xxxxxx>
  • Date: Fri, 13 Jun 2003 09:33:38 +0000 (UTC)
  • Message-id: <23122614590.20030613113339@xxxxxx>
Hi,

i'm doing exactly that, using autoinst from SuSE 8.2. Both Entities
must be under the <configure> Entity.

The groups (defined before the users):
--- snip ---
<groups config:type="list">
<group>
<gid config:type="integer">101</gid>
<group_password>x</group_password>
<groupname>machines</groupname>
</group>
<group>
<gid config:type="integer">300</gid>
<group_password>x</group_password>
<groupname>informix</groupname>
</group>
</groups>
---snip---

And the users (using groups defined previousely):
---snip---
<users config:type="list">
<user>
<encrypted config:type="boolean">true</encrypted>
<forename>TWS</forename>
<gid config:type="integer">100</gid>
<grouplist>uucp,dialout,audio,video</grouplist>
<home>/home/tws</home>
<password_settings>
<inact>-1</inact>
<last_change>12151</last_change>
<max>99999</max>
<min>0</min>
<warn>7</warn>
</password_settings>
<shell>/bin/bash</shell>
<surname>Datensysteme</surname>
<uid config:type="integer">500</uid>
<user_password>nuh5C0WpVi8U.</user_password>
<username>tws</username>
</user>
<user>
<encrypted config:type="boolean">true</encrypted>
<gid config:type="integer">300</gid>
<grouplist>uucp,dialout,audio,video</grouplist>
<home>/opt/informix</home>
<password_settings>
<inact>-1</inact>
<last_change>12151</last_change>
<max>99999</max>
<min>0</min>
<warn>7</warn>
</password_settings>
<shell>/bin/bash</shell>
<surname>Informix</surname>
<uid config:type="integer">300</uid>
<user_password>PieWz5xE01SU.</user_password>
<username>informix</username>
</user>
</users>
---snip---

Hope this helps

Mit freundlichen Grüßen
Ing. Wolfgang Skabrond
--
TWS Datensysteme Ges.m.b.H.
Cobenzlgasse 32/3
A-1190 Wien
Tel.: +43/1/32 9 32-0
Fax: +43/1/32 9 32-30
WWW: http://www.tws.at
E-Mail: skabrond@xxxxxx

--- Tobias_Mucke@xxxxxxxxx schrieb am 13.06.2003, 10:07 ---

> Hi,

> I wan't to create Users and Groups at the end of installation. But each of
> these users must have his own primary group with a customized gid. I never
> found a tag to create groups. Isn't there any?

> Thanks for help.

> Mit freundlichen Grüßen

> Tobias Mucke

> --------------------------------------------------------------------------------------------------


> MAN Nutzfahrzeuge AG
> Informationssysteme Organisation (I)
> Dachauer Straße 667
> D-80995 München

> Tel.: +49 (0) 89 1580 5269
> Mail-Adresse: Tobias_Mucke@xxxxxxxxx
> Internet-Adresse: http://www.man-trucks.com
> --------------------------------------------------------------------------------------------------


> This message and any attachments are confidential and may be privileged or otherwise protected from disclosure.
> If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment
> from your system. If you are not the intended recipient, you must not copy this message or attachment or disclose the
> contents to any other person.


< Previous Next >
References