diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2007-12-04 14:00:36 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2007-12-04 14:00:36 -0800 |
commit | 4c6c603798adc8412d0be8ad46e05a2553b6b9c7 (patch) | |
tree | 3f63a4931254c5b0eae1ac5248507025c5e6e607 /shell.c | |
parent | 503d52cfaf14ec7068bb070a96ee5145516b747a (diff) | |
download | vyatta-bash-4c6c603798adc8412d0be8ad46e05a2553b6b9c7.tar.gz vyatta-bash-4c6c603798adc8412d0be8ad46e05a2553b6b9c7.zip |
set default restricted mode based on group (in "vyattacfg" => "output",
otherwise => "full").
Diffstat (limited to 'shell.c')
-rw-r--r-- | shell.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -528,6 +528,9 @@ main (argc, argv, env) if (shopt_alist) run_shopt_alist (); + /* check and set the default vyatta restricted mode */ + set_vyatta_restricted_mode (); + /* From here on in, the shell must be a normal functioning shell. Variables from the environment are expected to be set, etc. */ shell_initialize (); |