Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.mac.system > #127784
| From | Larry Moss <moss@airigami.com> |
|---|---|
| Newsgroups | comp.sys.mac.system |
| Subject | Re: Grabnting socket privilege to unix utilities |
| Date | 2019-12-02 15:47 +0000 |
| Organization | Airigami - folding air in specially prepared latex containers |
| Message-ID | <slrnquachb.1i44.moss@scooter.lan> (permalink) |
| References | (5 earlier) <bZGEF.113229$YF.7514@fx43.iad> <slrnqu6qu1.1tlm.g.kreme@ProMini.lan> <W5XEF.217419$FR8.1614@fx45.iad> <slrnqu8fse.287v.g.kreme@ProMini.lan> <cF%EF.96415$1S4.19101@fx01.iad> |
On 2019-12-02, JF Mezei <jfmezei.spamnot@vaxination.ca> wrote: > Giving a user access to sudo (in sudoers file) means he can use sudo for > ANYTHING. Only if you grant the user access to ALL. You can specify pretty finely what you are giving any/all users access to in the sudoers file. > Oet me be more precise: as the binary "acme" runs either when called > from sudo, or granted the "s" bit, what are any difference in privilege, > environment etc that exist? The difference isn't in privilege for that app. If it runs as root, then it runs as root. The major differences I see are: * If you use sudo, you are forcing the privileged user to know precisely when they are giving something root privileges. If you change the suid bit, the user is unaware they are doing anything special. * 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. * You won't necessarily remember what system level changes you made. Changing the suid bit on software that came with the system is a system level change. This can break in the future with system updates. Doing everything in the sudoers file is the officially supported way of making those changes. I know you said you installed a few utilities that weren't on your system. Changing those is less bad than changing the system. But if it's not the way the author intended them to run, the warning still applies. You should be cautious of changing an installed package. Be smart. Use sudo. Create shell aliases for the things that you need sudo for if you absolutely must. While that does hide it a bit from the user, sudo will still ask for a password, reminding you that it's running, and it has less chance of breaking things down the road.
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