aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2023-04-26 08:33:28 +0100
committerRon Yorston <rmy@pobox.com>2023-04-26 08:33:28 +0100
commitcbbb73da90bac5029cbd58f4a8f148312768bc0f (patch)
treebece41a96c08128307ca4b174dec70d09aeea8fe /docs
parent0575aaaa0779812752427badbc0f80a09aac02a4 (diff)
downloadbusybox-w32-cbbb73da90bac5029cbd58f4a8f148312768bc0f.tar.gz
busybox-w32-cbbb73da90bac5029cbd58f4a8f148312768bc0f.tar.bz2
busybox-w32-cbbb73da90bac5029cbd58f4a8f148312768bc0f.zip
su: pass additional arguments to sh
The real su allows a command file to be run, with arguments given on the command line. Similarly it allows the script run with '-c' to take arguments. In fact, any arguments can be passed to sh. Permit the same in the Windows implementation. For compatibility this requires a user name to be specified, even though we only support elevation. The user name must be 'root'. Also, ensure the '-c' command is properly quoted. Adds 144-152 bytes. (GitHub PR #317)
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions