Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Apr 2002 07:48:01 -0600
From:      Ben Kadish <Ben.Kadish@happcontrols.com>
To:        johann@broadpark.no, questions@FreeBSD.ORG
Subject:   Re: Redistributing adduser's dotfiles to users
Message-ID:  <5.1.0.14.0.20020405074521.029a37b8@mail.happcontrols.com>
In-Reply-To: <1018013904.3cada8d0cf171@mail.broadpark.no>

next in thread | previous in thread | raw e-mail | index | archive | help
#!/bin/sh

for user in /home
do
         cp /usr/share/skel/.* /home/$user
         chown $user.group /home/$user/.*
done

That's my suggestion.

At 03:38 PM 4/5/2002 +0200, johann@broadpark.no wrote:
>Hi.
>
>What is the easiest way of redistributing the dotfiles adduser grabs from
>/usr/share/skel to all the users on a system?
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-questions" in the body of the message




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.0.20020405074521.029a37b8>