_choose_id function has changed slightly, run setquota once user is inited.

This commit is contained in:
Nathan Scott
2001-04-11 06:10:08 +00:00
parent 9304ea122b
commit ae9a37dbb5
7 changed files with 152 additions and 73 deletions
+4 -2
View File
@@ -74,12 +74,14 @@ EOF
_choose_uid()
{
perl -ne '@a = split(/:/); END { print $a[2]; }' /etc/passwd
perl -ne '@a = split(/:/); END { printf "id=%d name=%s\n", $a[2],$a[0] }' \
/etc/passwd
}
_choose_gid()
{
perl -ne '@a = split(/:/); END { print $a[2]; }' /etc/group
perl -ne '@a = split(/:/); END { printf "id=%d name=%s\n", $a[2],$a[0] }' \
/etc/group
}
_filter_repquota()