Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.mac.system > #127800
| From | Larry Moss <moss@airigami.com> |
|---|---|
| Newsgroups | comp.sys.mac.system |
| Subject | Re: Grabnting socket privilege to unix utilities |
| Date | 2019-12-03 01:15 +0000 |
| Organization | Airigami - folding air in specially prepared latex containers |
| Message-ID | <slrnqubdpg.bbp.moss@strangepork.lan> (permalink) |
| References | (7 earlier) <W5XEF.217419$FR8.1614@fx45.iad> <slrnqu8fse.287v.g.kreme@ProMini.lan> <cF%EF.96415$1S4.19101@fx01.iad> <slrnquachb.1i44.moss@scooter.lan> <GGdFF.227429$FR8.144882@fx45.iad> |
On 2019-12-02, JF Mezei <jfmezei.spamnot@vaxination.ca> wrote: > On 2019-12-02 10:47, Larry Moss wrote: >> * If the suid bit is set, it's always set. There may be a situation where >> you want acme to run as an ordinary user. You can't do that without >> changing the suid bit at that moment. > > Understood. fair point. But in the case of "ping", it has one duty and > that duty requires privileges, so it is useless to try to run it > unprivileged. But in the case of something like "rm", then you really > really don't want to set the "s" bit on it. But, as pointed out elsewhere, ping comes with the OS and does what it's supposed to without running as root. If you installed another version of ping, the problem is probably related to that. >> Changing the suid bit on software that came with the system is a system >> level change. > > That is the problem. Many internet utilities no longer come with the > system, so you have to build them from open source or import them from > older versions of OS-X. ping, ssh, telnet are all there. I don't see rlogin or rsh. Not sure the last time I used them. I can't actually remember the last time I used telnet either, other than to watch the text version of Star Wars. I imagine they got rid of a few other older utilities that I'm not thinking about right now. I expect the point of removing them was to discourage their use. >> Be smart. Use sudo. Create shell aliases for the things that you need >> sudo for if you absolutely must. > > Aliasing a command for another is very dangerous. Consider the > implicatiosn when you run complex scripts that you didn't write > (installinG/building software for instance) where it invokes that > command and gets different than expected results. Fair point. But if an alias exists that runs 'sudo ping' for ping, it's still doing the same as if you change the suid bit on ping. -- Larry Moss, http://www.airigami.com Airigami: The fine art of folding air.
Back to comp.sys.mac.system | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-11-29 02:00 -0500
Re: Grabnting socket privilege to unix utilities bje@ripco.com - 2019-11-29 13:23 +0000
Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-11-29 14:14 -0500
Re: Grabnting socket privilege to unix utilities bje@ripco.com - 2019-11-30 12:05 +0000
Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-11-30 17:02 -0500
Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-11-30 23:04 -0500
Re: Grabnting socket privilege to unix utilities Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-12-01 07:29 +0000
Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-12-01 17:25 -0500
Re: Grabnting socket privilege to unix utilities Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-12-01 22:32 +0000
Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-12-01 22:36 -0500
Re: Grabnting socket privilege to unix utilities Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-12-02 09:21 +0000
Re: Grabnting socket privilege to unix utilities Jolly Roger <jollyroger@pobox.com> - 2019-12-02 15:43 +0000
Re: Grabnting socket privilege to unix utilities Larry Moss <moss@airigami.com> - 2019-12-02 15:47 +0000
Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-12-02 14:33 -0500
Re: Grabnting socket privilege to unix utilities Alan Baker <nunya@ness.biz> - 2019-12-02 15:44 -0800
Re: Grabnting socket privilege to unix utilities bje@ripco.com - 2019-12-03 10:56 +0000
Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-12-03 16:54 -0500
Re: Grabnting socket privilege to unix utilities Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-12-04 06:03 +0000
Re: Grabnting socket privilege to unix utilities bje@ripco.com - 2019-12-04 14:13 +0000
Re: Grabnting socket privilege to unix utilities Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-12-05 07:06 +0000
Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-12-05 05:03 -0500
Re: Grabnting socket privilege to unix utilities Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-12-05 11:28 +0000
Re: Grabnting socket privilege to unix utilities bje@ripco.com - 2019-12-05 12:48 +0000
Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-12-05 18:31 -0500
Re: Grabnting socket privilege to unix utilities Barry Margolin <barmar@alum.mit.edu> - 2019-12-05 22:35 -0800
Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-12-06 04:11 -0500
Re: Grabnting socket privilege to unix utilities Barry Margolin <barmar@alum.mit.edu> - 2019-12-13 09:51 -0800
Re: Grabnting socket privilege to unix utilities Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-12-06 07:12 +0000
Re: Grabnting socket privilege to unix utilities Jolly Roger <jollyroger@pobox.com> - 2019-12-06 07:38 +0000
Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-12-06 04:26 -0500
Re: Grabnting socket privilege to unix utilities Larry Moss <moss@airigami.com> - 2019-12-03 01:15 +0000
Re: Grabnting socket privilege to unix utilities Barry Margolin <barmar@alum.mit.edu> - 2019-12-05 22:36 -0800
Re: Grabnting socket privilege to unix utilities Barry Margolin <barmar@alum.mit.edu> - 2019-12-01 01:01 -0800
Re: Grabnting socket privilege to unix utilities Lewis <g.kreme@gmail.com.dontsendmecopies> - 2019-12-01 10:47 +0000
Re: Grabnting socket privilege to unix utilities JF Mezei <jfmezei.spamnot@vaxination.ca> - 2019-12-01 17:29 -0500
Re: Grabnting socket privilege to unix utilities bje@ripco.com - 2019-12-01 12:31 +0000
csiph-web