summaryrefslogtreecommitdiff
path: root/bin/shadow.reimport
diff options
context:
space:
mode:
authorivan <ivan>2004-03-17 22:49:26 +0000
committerivan <ivan>2004-03-17 22:49:26 +0000
commit389dad7142dd7bf9c4b12d42958ebec50e4ae400 (patch)
treeb5df866b0b56ccd0e3af5bce2219c88c5e7e9911 /bin/shadow.reimport
parent44a98d88974faf787ba4f4264ee9532c86e19f1f (diff)
re-enable prompting
Diffstat (limited to 'bin/shadow.reimport')
-rwxr-xr-xbin/shadow.reimport7
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/shadow.reimport b/bin/shadow.reimport
index 4cb68a5..846cb89 100755
--- a/bin/shadow.reimport
+++ b/bin/shadow.reimport
@@ -36,15 +36,14 @@ die "No services with svcdb svc_acct!\n" unless %part_svc;
print "\n\n", &menu_svc, "\n", <<END;
Enter part number to import.
END
-#my($shell_svcpart)=&getpart;
-my $shell_svcpart = 2;
+my($shell_svcpart)=&getpart;
print "\n\n", <<END;
Enter the location and name of your _user_ shadow file, for example
"mail.isp.com:/etc/shadow" or "bsd.isp.com:/etc/master.passwd"
END
-#my($loc_shadow)=&getvalue(":");
-#iscp("root\@$loc_shadow", "$spooldir/shadow.import");
+my($loc_shadow)=&getvalue(":");
+iscp("root\@$loc_shadow", "$spooldir/shadow.import");
sub menu_svc {
( join "\n", map "$_: ".$part_svc{$_}->svc, sort keys %part_svc ). "\n";