Re: [suse-sparc] SusE 7.3: useradd fails

From: Thorsten Kukuk (kukuk@suse.de)
Date: Wed Jan 09 2002 - 06:14:14 PST

  • Next message: rolf@diesing.net: "[suse-sparc] (Inittab / syslog)"

    Date: Wed, 9 Jan 2002 15:14:14 +0100
    From: Thorsten Kukuk <kukuk@suse.de>
    Message-ID: <20020109151413.A24876@suse.de>
    Subject: Re: [suse-sparc] SusE 7.3: useradd fails
    

    On Wed, Jan 09, Torbjørn Heltne wrote:

    > When I add an user the user's home directory is not created. Look:
    >
    > ss20:~ # useradd tar
    > ss20:~ # l /home
    > total 12
    > drwxr-xr-x 3 root root 4096 Dec 11 09:55 ./
    > drwxr-xr-x 20 root root 4096 Jan 9 14:54 ../
    > drwxr-xr-x 31 th users 4096 Jan 7 22:09 th/
    > ss20:~ #
    >
    > Any ideas on how to solve this?

    Yes, "man useradd":

           -m The user's home directory will be created if it does not exist.
                  The files contained in skeleton_dir will be copied to the home
                  directory if the -k option is used, otherwise the files contained
                  in /etc/skel will be used instead. Any directories contained in
                  skeleton_dir or /etc/skel will be created in the user's home
                  directory as well. The -k option is only valid in conjunction
                  with the -m option. The default is to not create the directory
                  and to not copy any files.

      Thorsten

    -- 
    Thorsten Kukuk       http://www.suse.de/~kukuk/        kukuk@suse.de
    SuSE GmbH            Deutschherrenstr. 15-19       D-90429 Nuernberg
    --------------------------------------------------------------------    
    Key fingerprint = A368 676B 5E1B 3E46 CFCE  2D97 F8FD 4E23 56C6 FB4B
    

    -- To unsubscribe, e-mail: suse-sparc-unsubscribe@suse.com For additional commands, e-mail: suse-sparc-help@suse.com



    This archive was generated by hypermail 2.1.0 : Wed Jan 09 2002 - 06:12:47 PST