kickstart user and the --gecos option
Paul Morgan
jumanjiman at gmail.com
Wed Nov 24 20:53:09 UTC 2010
On Wed, Nov 24, 2010 at 02:43:33PM -0500, Robert Moskowitz wrote:
> I am installing F12 via kickstart. I want to set up my userid, and
> after a bit of reading figured out I needed to add the user command.
>
> On reading https://fedoraproject.org/wiki/Anaconda/Kickstart I figured
> out I needed:
>
> user --name=me --gecos="me myself" --password=nothingspecial
>
> But the install gave me an error on the --gecos option, saying it was an
> invalid option. So I removed it to get the install going, I can add the
> name later.
[snip]
> So what is the format
> for --gecos when you want a space in the name field. And where are the
> GECOS fields described?
They used to be documented in a manpage, but I can't find it now.
At any rate, I typically use chfn(1) to set the gecos field.
-paul
More information about the users
mailing list