Use su -m instead of just su to avoid reading the users login profile

This commit is contained in:
Brian Somers 2000-09-28 05:43:44 +00:00
parent d5aa12349f
commit cd63d8618f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=66422
7 changed files with 7 additions and 7 deletions

View File

@ -175,7 +175,7 @@ network_pass1() {
ppp_command="${ppp_command} ${ppp_profile}"
echo -n "Starting ppp as \"${ppp_user}\""
su ${ppp_user} -c "exec ${ppp_command}"
su -m ${ppp_user} -c "exec ${ppp_command}"
;;
esac

View File

@ -175,7 +175,7 @@ network_pass1() {
ppp_command="${ppp_command} ${ppp_profile}"
echo -n "Starting ppp as \"${ppp_user}\""
su ${ppp_user} -c "exec ${ppp_command}"
su -m ${ppp_user} -c "exec ${ppp_command}"
;;
esac

View File

@ -175,7 +175,7 @@ network_pass1() {
ppp_command="${ppp_command} ${ppp_profile}"
echo -n "Starting ppp as \"${ppp_user}\""
su ${ppp_user} -c "exec ${ppp_command}"
su -m ${ppp_user} -c "exec ${ppp_command}"
;;
esac

View File

@ -175,7 +175,7 @@ network_pass1() {
ppp_command="${ppp_command} ${ppp_profile}"
echo -n "Starting ppp as \"${ppp_user}\""
su ${ppp_user} -c "exec ${ppp_command}"
su -m ${ppp_user} -c "exec ${ppp_command}"
;;
esac

View File

@ -175,7 +175,7 @@ network_pass1() {
ppp_command="${ppp_command} ${ppp_profile}"
echo -n "Starting ppp as \"${ppp_user}\""
su ${ppp_user} -c "exec ${ppp_command}"
su -m ${ppp_user} -c "exec ${ppp_command}"
;;
esac

View File

@ -175,7 +175,7 @@ network_pass1() {
ppp_command="${ppp_command} ${ppp_profile}"
echo -n "Starting ppp as \"${ppp_user}\""
su ${ppp_user} -c "exec ${ppp_command}"
su -m ${ppp_user} -c "exec ${ppp_command}"
;;
esac

View File

@ -175,7 +175,7 @@ network_pass1() {
ppp_command="${ppp_command} ${ppp_profile}"
echo -n "Starting ppp as \"${ppp_user}\""
su ${ppp_user} -c "exec ${ppp_command}"
su -m ${ppp_user} -c "exec ${ppp_command}"
;;
esac