<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/configs, branch su_cmd</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=su_cmd</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=su_cmd'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2023-04-16T12:52:49+00:00</updated>
<entry>
<title>wget: enable progress bar in default configuration</title>
<updated>2023-04-16T12:52:49+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-04-16T12:29:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=41827dd448c001b52b4f0e591ea605cb5de1d230'/>
<id>urn:sha1:41827dd448c001b52b4f0e591ea605cb5de1d230</id>
<content type='text'>
For some reason the progress bar in wget has never been enabled.

Costs 1536-1600 bytes.
</content>
</entry>
<entry>
<title>ash: remove ASH_IGNORE_CR config option</title>
<updated>2023-04-09T09:48:58+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-04-09T09:48:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=fa04f2dc766c76f2caa44a4b8429185dde6a66b0'/>
<id>urn:sha1:fa04f2dc766c76f2caa44a4b8429185dde6a66b0</id>
<content type='text'>
No further problems with CRLF handling have been reported.  Remove
the configuration option that allowed some recent changes to be
turned off.

Also, prevent some WIN32 code from being included in the POSIX
build.  The faulty code is from commit 64c8f5f3d (ash: add support
for INT trap).

These changes don't alter the default WIN32 build.
</content>
</entry>
<entry>
<title>drop: cdrop and pdrop don't need shell</title>
<updated>2023-03-23T11:29:34+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-03-23T11:29:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=f491e57d1ce04ec8124b9605268e5ecd3b1fb489'/>
<id>urn:sha1:f491e57d1ce04ec8124b9605268e5ecd3b1fb489</id>
<content type='text'>
The cdrop and pdrop variants don't require the binary to include
a shell.  Removing this dependency makes it possible to build
cdrop/pdrop as a much smaller standalone binaries.

Update the default configuration to build a standalone make binary
to exclude drop/cdrop/pdrop.
</content>
</entry>
<entry>
<title>drop: add cdrop and pdrop aliases</title>
<updated>2023-03-19T10:26:24+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-03-19T10:26:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=d9e8bb61cf380264511a4524281af2ca57498bce'/>
<id>urn:sha1:d9e8bb61cf380264511a4524281af2ca57498bce</id>
<content type='text'>
Add cdrop and pdrop applets as aliases for drop.  If a command
isn't specified these use cmd.exe and PowerShell instead of the
BusyBox shell.

This makes it possible to choose the default shell used for SSH
connections even in older versions of OpenSSH that don't support
the DefaultShellArguments registry key.

Note that to get cmd.exe to run a command rather than an interactive
shell it's necessary to set the DefaultShellCommandOption registry
key to '/c'.

Costs 248-272 bytes.
</content>
</entry>
<entry>
<title>runuser,drop: drop runuser, tweak drop</title>
<updated>2023-03-19T10:25:23+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-03-19T10:25:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=b0e7a401d51402c052563f55331c8b9001a1215c'/>
<id>urn:sha1:b0e7a401d51402c052563f55331c8b9001a1215c</id>
<content type='text'>
Remove the runuser applet, leaving only drop.  Move drop from
util-linux to miscutils.

A command of the form 'drop -c command' causes the BusyBox shell
to be used, just like 'drop' without any arguments.  A simple
OpenSSH configuration with 'drop.exe' as DefaultShell and no
DefaultShellArguments now works both for interactive login and
to run a command.  This is useful for older versions of OpenSSH
which don't support DefaultShellArguments.

Saves 208-232 bytes.
</content>
</entry>
<entry>
<title>runuser: new applet</title>
<updated>2023-03-13T10:25:56+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-03-13T10:25:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=385decd6bf62c116565ece1e0992ff7a79d48474'/>
<id>urn:sha1:385decd6bf62c116565ece1e0992ff7a79d48474</id>
<content type='text'>
Add a cut down, Windows-specific implementation of `runuser` from
util-linux.

This allows elevated privileges to be dropped when running in an
SSH session.  It also works when using `su` or starting busybox-w32
'as administrator'.

There are complications:

- The method used to drop privileges leaves the access token in the
  TokenIsElevated state.  Detecting this is likely to be fragile.

- The unprivileged shell is started by CreateProcessAsUserA().  In
  older versions of Windows this has to be loaded dynamically.

Adds about 900 bytes.

(GitHub issue #240)
</content>
</entry>
<entry>
<title>win32: changes to console mode handling</title>
<updated>2023-03-05T12:31:30+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-03-05T12:31:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=f52c2004b818ac739ec886d5ff0a87734b55d293'/>
<id>urn:sha1:f52c2004b818ac739ec886d5ff0a87734b55d293</id>
<content type='text'>
Add the environment variable BB_TERMINAL_MODE as a more general way
of controlling console/terminal mode setting.  The default remains
unchanged:  use virtual terminal mode for output if possible but
fall back to the console API with emulated ANSI escape sequences.

Currently valid settings are:

   0  Force use of console mode
   1  Force use of virtual terminal mode for output
   5  Prefer virtual terminal mode for output, fall back to console

Other values won't do anything useful until code elsewhere has been
updated.

BB_SKIP_ANSI_EMULATION remains available for backwards compatibility.
If both variables are set BB_TERMINAL_MODE takes precedence.
</content>
</entry>
<entry>
<title>ash: change CRLF handling</title>
<updated>2023-02-07T10:03:04+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-02-07T10:03:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=4b894b60ae377ee2a04ae209c14bb1e714ecf6f4'/>
<id>urn:sha1:4b894b60ae377ee2a04ae209c14bb1e714ecf6f4</id>
<content type='text'>
As noted in commit 2d848eba5 (ash: fix CRLF handling) all CRs are
removed when scripts are read.  Allow an alternative approach
(configurable at build-time, enabled by default):

- Do not strip CRs from input.

- Treat CR as similar to space or tab in base syntax mode.

- Adjust pgetc_eatbnl() to handle backslash-CRLF in the same way
  as backslash-LF.

With these changes scripts containing CRLF line endings are more
likely to work.

Adds 48-56 bytes.

(GitHub issue #285)
</content>
</entry>
<entry>
<title>make: enable pdpmake alias in default configuration</title>
<updated>2023-01-24T14:01:36+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2023-01-24T13:38:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=e29a106453a90e3b0a7379a69a79487276575c7e'/>
<id>urn:sha1:e29a106453a90e3b0a7379a69a79487276575c7e</id>
<content type='text'>
This allows additional flexibility when another 'make' program is
present.
</content>
</entry>
<entry>
<title>make: make + sh configuration</title>
<updated>2022-11-10T12:47:32+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2022-11-10T11:29:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=f261d2d278537e6f0ca50cda68f0c3f768a56e40'/>
<id>urn:sha1:f261d2d278537e6f0ca50cda68f0c3f768a56e40</id>
<content type='text'>
Add a configuration that just includes make and a shell.

Add 'pdpmake' as an alias for 'make'.
</content>
</entry>
</feed>
