From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from skinny.southernlinux.net (ns2.rednecks.net [64.192.52.5]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j3MEI5mC008372 for ; Fri, 22 Apr 2005 14:18:07 GMT Received: (qmail 14822 invoked by uid 210); 22 Apr 2005 10:17:47 -0400 Received: from 10.10.10.188 by skinny (envelope-from , uid 201) with qmail-scanner-1.25st (clamdscan: 0.82/848. f-prot: 4.4.2/3.14.11. spamassassin: 3.0.2. perlscan: 1.25st. Clear:RC:1(10.10.10.188):. Processed in 0.065051 secs); 22 Apr 2005 14:17:47 -0000 Received: from unknown (HELO ?10.10.10.188?) (10.10.10.188) by 0 with RC4-MD5 encrypted SMTP; 22 Apr 2005 10:17:47 -0400 Subject: Re: [gentoo-dev] Replace 'sash' with 'busybox' as our static rescue shell From: Ned Ludd To: gentoo-dev@lists.gentoo.org In-Reply-To: <1114178582.3552.7.camel@Darkmere> References: <200504220938.47437.vapier@gentoo.org> <1114178582.3552.7.camel@Darkmere> Content-Type: text/plain Date: Fri, 22 Apr 2005 10:15:12 -0400 Message-Id: <1114179312.32174.5.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 Content-Transfer-Encoding: 7bit X-Archives-Salt: ad6a5f55-3c3e-48d5-9dc3-fbb1d2cfccd1 X-Archives-Hash: 2837119924f736036c426ca1fec37f4b On Fri, 2005-04-22 at 16:03 +0200, Spider wrote: > On Fri, 2005-04-22 at 09:38 -0400, Mike Frysinger wrote: >> [STUFF].. > Oh, and unless you have another editor as binary built into your shell, > don't remove ed. A "trusted" editor is good. Sash is seldom used for > "My system is haxxored" however its often used for "I fucked up glibc" > and an editor is a handy thing, even if its as obscure as "ed" busybox.static would provide a minimal vi editor. A default compile should produce the following applets (give or take a few based on what the new ebuild will provide) [, addgroup, adduser, adjtimex, ar, arping, ash, awk, basename, bunzip2, busybox, bzcat, cal, cat, chgrp, chmod, chown, chroot, chvt, clear, cmp, cp, cpio, crond, crontab, cut, date, dc, dd, deallocvt, delgroup, deluser, devfsd, df, dirname, dmesg, dos2unix, dpkg, dpkg-deb, du, dumpkmap, dumpleases, echo, egrep, env, expr, false, fbset, fdflush, fdformat, fdisk, fgrep, find, fold, free, freeramdisk, fsck.minix, ftpget, ftpput, getopt, getty, grep, gunzip, gzip, halt, hdparm, head, hexdump, hostid, hostname, httpd, hush, hwclock, id, ifconfig, ifdown, ifup, inetd, init, insmod, install, ip, ipaddr, ipcalc, iplink, iproute, iptunnel, kill, killall, klogd, lash, last, length, linuxrc, ln, loadfont, loadkmap, logger, login, logname, logread, losetup, ls, lsmod, makedevs, md5sum, mesg, mkdir, mkfifo, mkfs.minix, mknod, mkswap, mktemp, modprobe, more, mount, msh, mt, mv, nameif, nc, netstat, nslookup, od, openvt, passwd, patch, pidof, ping, ping6, pipe_progress, pivot_root, poweroff, printf, ps, pwd, rdate, readlink, realpath, reboot, renice, reset, rm, rmdir, rmmod, route, rpm, rpm2cpio, run-parts, rx, sed, seq, setkeycodes, sh, sha1sum, sleep, sort, start-stop-daemon, strings, stty, su, sulogin, swapoff, swapon, sync, sysctl, syslogd, tail, tar, tee, telnet, telnetd, test, tftp, time, top, touch, tr, traceroute, true, tty, udhcpc, udhcpd, umount, uname, uncompress, uniq, unix2dos, unzip, uptime, usleep, uudecode, uuencode, vconfig, vi, vlock, watch, watchdog, wc, wget, which, who, whoami, xargs, yes, zcat -- Ned Ludd -- gentoo-dev@gentoo.org mailing list