diff options
author | Jakob Schlyter <jakob@cvs.openbsd.org> | 2000-04-25 21:08:42 +0000 |
---|---|---|
committer | Jakob Schlyter <jakob@cvs.openbsd.org> | 2000-04-25 21:08:42 +0000 |
commit | 046f1d696f8e83a4db63bfbc5b1eab72830a9568 (patch) | |
tree | 0561eae559dddc4a5e2ce6e445fa901978522d3f /usr.sbin/adduser/adduser.perl | |
parent | 0b923daaef16e972b2b3f83ef6a73ee9cf95bd44 (diff) |
change /usr/share/skel to /etc/skel. maintain dot.magic for backwards compability.
Diffstat (limited to 'usr.sbin/adduser/adduser.perl')
-rw-r--r-- | usr.sbin/adduser/adduser.perl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/adduser/adduser.perl b/usr.sbin/adduser/adduser.perl index 7076ae5b41e..d7086a28d66 100644 --- a/usr.sbin/adduser/adduser.perl +++ b/usr.sbin/adduser/adduser.perl @@ -1,6 +1,6 @@ #!/usr/bin/perl # -# $OpenBSD: adduser.perl,v 1.20 2000/01/03 19:30:00 millert Exp $ +# $OpenBSD: adduser.perl,v 1.21 2000/04/25 21:08:41 jakob Exp $ # # Copyright (c) 1995-1996 Wolfram Schneider <wosch@FreeBSD.org>. Berlin. # All rights reserved. @@ -69,7 +69,7 @@ exit(!&batch(@batch)) if $#batch >= 0; # batch mode sub variables { $verbose = 1; # verbose = [0-2] $defaultpasswd = "yes"; # use password for new users - $dotdir = "/usr/share/skel"; # copy dotfiles from this dir + $dotdir = "/etc/skel"; # copy dotfiles from this dir $dotdir_bak = $dotdir; $send_message = "no"; # send message to new user $send_message_bak = '/etc/adduser.message'; @@ -1453,7 +1453,7 @@ sub config_write { print C <<EOF; # -# $OpenBSD: adduser.perl,v 1.20 2000/01/03 19:30:00 millert Exp $ +# $OpenBSD: adduser.perl,v 1.21 2000/04/25 21:08:41 jakob Exp $ # $config - automatic generated by adduser(8) # # Note: adduser read *and* write this file. @@ -1472,7 +1472,7 @@ defaultpasswd = $defaultpasswd # Methods are all those listed in passwd.conf(5) encryptionmethod = "$defaultencryption" -# copy dotfiles from this dir ("/usr/share/skel" or "no") +# copy dotfiles from this dir ("/etc/skel" or "no") dotdir = "$dotdir" # send this file to new user ("/etc/adduser.message" or "no") |