Home | History | Annotate | Download | only in su

Lines Matching refs:whoami

36 set whoami [ exec whoami ]
37 if { $whoami=="root" } {
124 # run "whoami" to test user ID inside su shell
125 spawn /bin/su -c whoami
186 # run "whoami" to test user ID inside su shell
187 spawn /bin/su -c whoami
226 # run "whoami" to test user ID inside su shell
227 spawn /bin/su -l root -c whoami
279 # run "whoami" to test user ID inside su shell
280 spawn /bin/su -l root -c whoami
308 # - Run "whoami" to test user ID inside su shell
313 spawn /bin/su -l $USER1 -c whoami
369 spawn /bin/su -l $USER1 -c whoami
418 spawn /bin/su -l $USER1 -c whoami