diff options
author | Ron Yorston <rmy@pobox.com> | 2023-04-26 08:33:28 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2023-04-26 08:33:28 +0100 |
commit | cbbb73da90bac5029cbd58f4a8f148312768bc0f (patch) | |
tree | bece41a96c08128307ca4b174dec70d09aeea8fe /docs | |
parent | 0575aaaa0779812752427badbc0f80a09aac02a4 (diff) | |
download | busybox-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