Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.mac.system > #127799
| From | Alan Baker <nunya@ness.biz> |
|---|---|
| Newsgroups | comp.sys.mac.system |
| Subject | Re: Grabnting socket privilege to unix utilities |
| Date | 2019-12-02 15:44 -0800 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <qs47ku$19va$1@gioia.aioe.org> (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 11:33 a.m., JF Mezei wrote: > On 2019-12-02 10:47, Larry Moss wrote: > >> 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. > > Thanks. Had not realized how powerful the sudoers file can be. Though it > was just a list of users who were allowed to run sudo to become any user > they wanted. > > >> 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: > > Thanks. So whether I run X with sudo or because X has the s bit (and > owned by root), X runs the same. > >> * 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. ping is not an SUID set utility. It's owned by root:wheel, but it's permissions are: "-r-xr-xr-x 1 root wheel 41968 24 Oct 04:40 /sbin/ping" If it were SUID, then the permissions (characters 2-4) would be: "-r-sr-xr-x"
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