diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2007-11-15 11:02:53 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2007-11-15 11:02:53 -0800 |
commit | f50d376954e29731a1577b94f52193a13059d047 (patch) | |
tree | c6b28e252762eab88ad7337d9dd0ef8ef6b19edf /scripts | |
parent | 0d6807dac3d72fdfb98f42cac17dc1431a7fbdff (diff) | |
download | vyatta-cfg-quagga-f50d376954e29731a1577b94f52193a13059d047.tar.gz vyatta-cfg-quagga-f50d376954e29731a1577b94f52193a13059d047.zip |
users added through our CLI now use "vbash" (from vyatta-bash package).
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/system/vyatta_update_login_user.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/system/vyatta_update_login_user.pl b/scripts/system/vyatta_update_login_user.pl index b246cee6..d84ee4b0 100755 --- a/scripts/system/vyatta_update_login_user.pl +++ b/scripts/system/vyatta_update_login_user.pl @@ -145,7 +145,8 @@ exit 4 if (!defined($user) || !defined($full) || !defined($encrypted) exit 4 if (!defined($group_map{$group})); $group = $group_map{$group}; -my $DEF_SHELL = "/bin/bash"; +# note that DEF_SHELL doesn't affect root since root is never "added" +my $DEF_SHELL = "/bin/vbash"; open(GRP, "/etc/group") or exit 5; my $def_gid = undef; |