I've been beating against this for almost a full day now and it defies any
sense as far as i can tell.
I can successfully create users without a problem, unless i try to specify a
uid, gid, or home element.
using the following config:
<users config:type="list">
<user>
<encrypted config:type="boolean">true</encrypted>
<username>root</username>
<user_password/>
</user>
<user>
<encrypted config:type="boolean">false</encrypted>
<username>eaws</username>
<user_password>xxx</user_password>
<forename>EA</forename>
<surname>Admin</surname>
<uid>1011</uid>
</user>
<user>
<encrypted config:type="boolean">false</encrypted>
<username>ftpuser</username>
<user_password>xxx</user_password>
<forename>FTP</forename>
<surname>Account</surname>
<gid>205</gid>
<uid config:type="integer">480</uid>
<home>/usr/ftproot/triggerjobs</home>
</user>
</users>
i get errors on both the eaws and ftpuser users.
for the eaws user:
2004-12-14 03:46:47 <3> wfgGCbase(495) [Interpreter]
modules/UserWriteStack.ycp:152 Invalid initial value "1011" for variable uid,
which has been declared as integer
2004-12-14 03:46:47 <3> wfgGCbase(495) [Interpreter]
modules/UserWriteStack.ycp:157 [WFM] Undeclared variable uid
etc..
for the ftpuser i get the same error message, even though i explicitly declare
uid as integer.
but i also get an error on the gid. this seems to get parsed correctly, and
turned into the correct group name based on the gid (no integer problem there)
but the useradd line that gets created contains:
-G dialout,uucp,video,audio ftpuser,
which causes an error because of the lack of , between audio and ftpuser
i also sometimes seem to get an error creating the home directory specified
above, but this seems to be intermitent.
any ideas on why uid isn't treated as an integer, gid gets parsed but not added
to the useradd correctly, or a home directory won't get created?
Thread at a glance:
Previous Message by Date:
click to view message preview
Re: Using only Linux partitions and blank space to autopartition
On Friday 03 December 2004 11:14, Jesse Keating wrote:
> Is there a partition <use></use> option to just reuse existing Linux
> partitions and blank space? Red Hat has this for kickstart, looking
> for the same with autoinstall. Thanks.
>
> Oh, target SUSE is SLES9 and SUSE Pro 9.2
I never did get an answer to this... is anybody listening?
--
Jesse Keating RHCE
Pogo Linux -- Linux Systems Engineer
tel: (888) 828-7646 ex: 436
Next Message by Date:
click to view message preview
RE: SLES8 user setup failing with uid/gid/home
I had problems getting user and group creation to work correctly as
well, so I just created a post install script that called groupadd and
useradd, not as elegant as using yast, but not nearly as frustrating
either.
groupadd -g 123 groupname
useradd -d /home/username -m -c "gecos info" -s /bin/shell username
-m
-----Original Message-----
From: Michael Czyz [mailto:czyzm@xxxxxxxxx]
Sent: Tuesday, December 14, 2004 4:44 PM
To: suse-autoinstall@xxxxxxxx
Subject: [suse-autoinstall] SLES8 user setup failing with uid/gid/home
I've been beating against this for almost a full day now and it defies
any
sense as far as i can tell.
I can successfully create users without a problem, unless i try to
specify a
uid, gid, or home element.
using the following config:
<users config:type="list">
<user>
<encrypted config:type="boolean">true</encrypted>
<username>root</username>
<user_password/>
</user>
<user>
<encrypted config:type="boolean">false</encrypted>
<username>eaws</username>
<user_password>xxx</user_password>
<forename>EA</forename>
<surname>Admin</surname>
<uid>1011</uid>
</user>
<user>
<encrypted config:type="boolean">false</encrypted>
<username>ftpuser</username>
<user_password>xxx</user_password>
<forename>FTP</forename>
<surname>Account</surname>
<gid>205</gid>
<uid config:type="integer">480</uid>
<home>/usr/ftproot/triggerjobs</home>
</user>
</users>
i get errors on both the eaws and ftpuser users.
for the eaws user:
2004-12-14 03:46:47 <3> wfgGCbase(495) [Interpreter]
modules/UserWriteStack.ycp:152 Invalid initial value "1011" for variable
uid,
which has been declared as integer
2004-12-14 03:46:47 <3> wfgGCbase(495) [Interpreter]
modules/UserWriteStack.ycp:157 [WFM] Undeclared variable uid
etc..
for the ftpuser i get the same error message, even though i explicitly
declare
uid as integer.
but i also get an error on the gid. this seems to get parsed correctly,
and
turned into the correct group name based on the gid (no integer problem
there)
but the useradd line that gets created contains:
-G dialout,uucp,video,audio ftpuser,
which causes an error because of the lack of , between audio and ftpuser
i also sometimes seem to get an error creating the home directory
specified
above, but this seems to be intermitent.
any ideas on why uid isn't treated as an integer, gid gets parsed but
not added
to the useradd correctly, or a home directory won't get created?
--
To unsubscribe, e-mail: suse-autoinstall-unsubscribe@xxxxxxxx
For additional commands, e-mail: suse-autoinstall-help@xxxxxxxx
Previous Message by Thread:
click to view message preview
Own RPM's
Hi All,
Finally works my server correct, thanx a lot for all :=)).
Now i have another qestion, i'd like to install via autoyast my own RPM's,
first idea was a postinstall script with
wget URL && rpm -ihv, it works, but i want to integrate this packages (own
RPM's) in my repository.
Have anyone own good experinces with such a problem ?
Thank you very much for any advice
greetings
Cozy Paul
__________________________________________________________
Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min.
weltweit telefonieren! http://freephone.web.de/?mc=021201
Next Message by Thread:
click to view message preview
RE: SLES8 user setup failing with uid/gid/home
I had problems getting user and group creation to work correctly as
well, so I just created a post install script that called groupadd and
useradd, not as elegant as using yast, but not nearly as frustrating
either.
groupadd -g 123 groupname
useradd -d /home/username -m -c "gecos info" -s /bin/shell username
-m
-----Original Message-----
From: Michael Czyz [mailto:czyzm@xxxxxxxxx]
Sent: Tuesday, December 14, 2004 4:44 PM
To: suse-autoinstall@xxxxxxxx
Subject: [suse-autoinstall] SLES8 user setup failing with uid/gid/home
I've been beating against this for almost a full day now and it defies
any
sense as far as i can tell.
I can successfully create users without a problem, unless i try to
specify a
uid, gid, or home element.
using the following config:
<users config:type="list">
<user>
<encrypted config:type="boolean">true</encrypted>
<username>root</username>
<user_password/>
</user>
<user>
<encrypted config:type="boolean">false</encrypted>
<username>eaws</username>
<user_password>xxx</user_password>
<forename>EA</forename>
<surname>Admin</surname>
<uid>1011</uid>
</user>
<user>
<encrypted config:type="boolean">false</encrypted>
<username>ftpuser</username>
<user_password>xxx</user_password>
<forename>FTP</forename>
<surname>Account</surname>
<gid>205</gid>
<uid config:type="integer">480</uid>
<home>/usr/ftproot/triggerjobs</home>
</user>
</users>
i get errors on both the eaws and ftpuser users.
for the eaws user:
2004-12-14 03:46:47 <3> wfgGCbase(495) [Interpreter]
modules/UserWriteStack.ycp:152 Invalid initial value "1011" for variable
uid,
which has been declared as integer
2004-12-14 03:46:47 <3> wfgGCbase(495) [Interpreter]
modules/UserWriteStack.ycp:157 [WFM] Undeclared variable uid
etc..
for the ftpuser i get the same error message, even though i explicitly
declare
uid as integer.
but i also get an error on the gid. this seems to get parsed correctly,
and
turned into the correct group name based on the gid (no integer problem
there)
but the useradd line that gets created contains:
-G dialout,uucp,video,audio ftpuser,
which causes an error because of the lack of , between audio and ftpuser
i also sometimes seem to get an error creating the home directory
specified
above, but this seems to be intermitent.
any ideas on why uid isn't treated as an integer, gid gets parsed but
not added
to the useradd correctly, or a home directory won't get created?
--
To unsubscribe, e-mail: suse-autoinstall-unsubscribe@xxxxxxxx
For additional commands, e-mail: suse-autoinstall-help@xxxxxxxx