summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2000-09-28 05:43:44 +0000
committerbrian <brian@FreeBSD.org>2000-09-28 05:43:44 +0000
commit6605e8805b82f3969951388debe3ecc0b55d1436 (patch)
treefa3d86f63eeb15f6cdc7f477f25f11e593c07abe /etc/rc.d
parent295f1fc1dc896873286d6a38a5612712befd4b02 (diff)
downloadFreeBSD-src-6605e8805b82f3969951388debe3ecc0b55d1436.zip
FreeBSD-src-6605e8805b82f3969951388debe3ecc0b55d1436.tar.gz
Use su -m instead of just su to avoid reading the users login profile
Diffstat (limited to 'etc/rc.d')
-rw-r--r--etc/rc.d/netoptions2
-rw-r--r--etc/rc.d/network12
-rw-r--r--etc/rc.d/network22
-rw-r--r--etc/rc.d/network32
-rw-r--r--etc/rc.d/routing2
5 files changed, 5 insertions, 5 deletions
diff --git a/etc/rc.d/netoptions b/etc/rc.d/netoptions
index 168f3bd..8e97b44 100644
--- a/etc/rc.d/netoptions
+++ b/etc/rc.d/netoptions
@@ -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
diff --git a/etc/rc.d/network1 b/etc/rc.d/network1
index 168f3bd..8e97b44 100644
--- a/etc/rc.d/network1
+++ b/etc/rc.d/network1
@@ -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
diff --git a/etc/rc.d/network2 b/etc/rc.d/network2
index 168f3bd..8e97b44 100644
--- a/etc/rc.d/network2
+++ b/etc/rc.d/network2
@@ -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
diff --git a/etc/rc.d/network3 b/etc/rc.d/network3
index 168f3bd..8e97b44 100644
--- a/etc/rc.d/network3
+++ b/etc/rc.d/network3
@@ -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
diff --git a/etc/rc.d/routing b/etc/rc.d/routing
index 168f3bd..8e97b44 100644
--- a/etc/rc.d/routing
+++ b/etc/rc.d/routing
@@ -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
OpenPOWER on IntegriCloud