Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #230999
| Path | csiph.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!news.dns-netz.com!news.freedyn.net!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | The Wanderer <wanderer@fastmail.fm> |
| Newsgroups | linux.debian.user |
| Subject | Re: setuid question |
| Date | Sat, 23 Jan 2021 01:20:01 +0100 |
| Message-ID | <BAeOJ-7Aw-7@gated-at.bofh.it> (permalink) |
| References | <BAe2m-76j-7@gated-at.bofh.it> <BAec1-798-3@gated-at.bofh.it> <BAeF4-7xD-13@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-user-request@lists.debian.org Sat Jan 23 00:19:41 2021 |
| Old-Return-Path | <wanderer@fastmail.fm> |
| X-Amavis-Spam-Status | No, score=-15.146 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, MONEY=0.5, NICE_REPLY_A=-2.749, PGPSIGNATURE=-5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -5.5 |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= message-id:date:from:mime-version:to:subject:references :in-reply-to:content-type; s=fm2; bh=YK9hudTAbPtej9OezxQtnbxVUz0 J3YL5vgnDoEq4+e4=; b=tWehxanRx5Vg5WQ5b6UXJ0WW5254wKEttRNRYfGUPI9 ineQOsaPkjfjr2XpxVICP94eumO5FmLc/Byspw4BOTprsqgxgnGJPWgX7K/wOcai Yr/m0J575A25+/ywZOVECltmqt9zAqNXBEkDoh/ycfRomxdxJG4HFkOnd9PYM/Wn +Y8Dndx9C3t4LUgFK3LYt672bypvr9RPk9+3zX9a/C3cxtBhF2YRpcGOzCW3D6Ev TMZW8OswY+9jkcMDefDJBcj6p/NGifEi3dge2ed6oqXwbbTUyxZtImOFZI7Pc/TR rACHybkNMQ7NbcRrJIjJF04hBHMljnkmVpDLP6Xhtfw== |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=YK9hud TAbPtej9OezxQtnbxVUz0J3YL5vgnDoEq4+e4=; b=GU3ds04GViEwHYzNJR2hBq 38/BLiGedmZ76hez7dOERahvv3pNCxx0P1i7WNQqw6dGh+DJIIRj4COAsh9gxqoT me/tBf6kgilyfaKmUOy//p6Mc6DI9+JwPvBBSG6T3eyxxoua4Inx1RypX2Tcnz4c nSowo3ElZYqMojURBaRvCPWbVHaBQx4EkmXQQNSOfQUylK1V/MkYtYrMnO/llwxJ fAHtVBmeRivPigxWGluZnT79AVe+JHo6ef8CH5pqHMSN+eOX1VdoXtFMgrDcKnSR jDf2gujCf2RYfGPQh1hKP1bmjSieO+0vCmykwMsntesQtJtaFsoefWCyNi3IbQ3Q == |
| X-Me-Sender | <xms:jGsLYGKJVVae_6z4Rt_vaobMPMI2XFfHcb9TFWS7IMPhCNDEh4EOjg> <xme:jGsLYOKmJ4biXzBYlCcylj5KagZJMshdAmom-QBAuuOvzf_nnSV35O41h_7ILGbKi ay78ExBqKzI4CuK> |
| X-Me-Proxy-Cause | gggruggvucftvghtrhhoucdtuddrgeduledrudejgddulecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepkfffhfhofgggvffufhgjtgesghdtrg fotdefjeenucfhrhhomhepvfhhvgcuhggrnhguvghrvghruceofigrnhguvghrvghrsehf rghsthhmrghilhdrfhhmqeenucggtffrrghtthgvrhhnpeefkeekheetvdfffeetieekje eiffdtvdffvedvfedtveffteduvdekveevvdehgeenucfkphepuddtkedrhedurdelgedr vdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpeifrg hnuggvrhgvrhesfhgrshhtmhgrihhlrdhfmh |
| X-Me-Proxy | <xmx:jGsLYGtyiYpHQIhyMRQmvxknlf1uS3skhwUnMvlMscrhjnI7swqT2w> <xmx:jGsLYLZF2QLpwn3V04I3o00rN7sJQ6kyHuRQvXCbbhb8GZJotEs9yQ> <xmx:jGsLYNb2L7-21nweQBbtEeob_Ib-59pQNgzbGnYN7NIwoNMP2PMxEw> <xmx:jGsLYGn-1IYqauKcwB91OyPgkElc7_9JCLKDalnB08cSEkz5ny5q3Q> |
| Organization | This space intentionally left blank. |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.8.0 |
| MIME-Version | 1.0 |
| Content-Type | multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="HgegSfsVoOT3i5nKxcONmO87wF3O5Dfir" |
| X-Mailing-List | <debian-user@lists.debian.org> archive/latest/771460 |
| List-ID | <debian-user.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-user/> |
| List-Archive | https://lists.debian.org/msgid-search/600B6B80.4060604@fastmail.fm |
| Approved | robomod@news.nic.it |
| Lines | 72 |
| Sender | robomod@news.nic.it |
| X-Original-Date | Fri, 22 Jan 2021 19:19:12 -0500 |
| X-Original-Message-ID | <600B6B80.4060604@fastmail.fm> |
| X-Original-References | <202101221829.25934.gheskett@shentel.net> <8fc19daa-3c3b-a59d-7309-6adbf056c3fe@holgerdanske.com> <202101221909.12660.gheskett@shentel.net> |
| Xref | csiph.com linux.debian.user:230999 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On 2021-01-22 at 19:09, Gene Heskett wrote: > On Friday 22 January 2021 18:35:27 David Christensen wrote: > >> chmod u+s /usr/local/libexec/amanda/ambind > > root@coyote:amanda-3.5.1$ chmod u+s /usr/local/libexec/amanda/ambind > root@coyote:amanda-3.5.1$ su amanda -c "/usr/local/sbin/amcheck Daily" > Amanda Tape Server Host Check > ----------------------------- > ERROR: program /usr/local/libexec/amanda/ambind: not setuid-root What does $ ls -lh /usr/local/libexec/amanda/ambind say? All 'chmod u+s' does is set the suid bit. What having that bit does (as I understand matters) is cause the program to run with the permissions of the user who owns the file. If that file is owned by some user other than root, than the suid bit will just cause it to be run as that other user, which may well not be enough. You may also want to check $ file /usr/local/libexec/amanda/ambind to confirm whether this program is a script; I've seen cases where having a script with the suid bit set isn't enough, because it invokes another binary which isn't and the permissions don't wind up getting passed along. (Whether that happens typically with scripts I don't know.) -- The Wanderer The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. -- George Bernard Shaw
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
setuid question Gene Heskett <gheskett@shentel.net> - 2021-01-23 00:30 +0100
Re: setuid question Larry Martell <larry.martell@gmail.com> - 2021-01-23 00:40 +0100
Re: setuid question Gene Heskett <gheskett@shentel.net> - 2021-01-23 01:40 +0100
Re: setuid question Larry Martell <larry.martell@gmail.com> - 2021-01-23 02:00 +0100
Re: setuid question Gene Heskett <gheskett@shentel.net> - 2021-01-23 02:40 +0100
Re: setuid question David Christensen <dpchrist@holgerdanske.com> - 2021-01-23 00:40 +0100
Re: setuid question Gene Heskett <gheskett@shentel.net> - 2021-01-23 01:10 +0100
Re: setuid question Larry Martell <larry.martell@gmail.com> - 2021-01-23 01:20 +0100
Re: setuid question Larry Martell <larry.martell@gmail.com> - 2021-01-23 02:20 +0100
Re: setuid question Gene Heskett <gheskett@shentel.net> - 2021-01-23 02:20 +0100
Re: setuid question The Wanderer <wanderer@fastmail.fm> - 2021-01-23 01:20 +0100
Re: setuid question Gene Heskett <gheskett@shentel.net> - 2021-01-23 02:20 +0100
Re: setuid question David Christensen <dpchrist@holgerdanske.com> - 2021-01-23 06:30 +0100
Re: setuid question Gene Heskett <gheskett@shentel.net> - 2021-01-23 07:40 +0100
Re: setuid question Gene Heskett <gheskett@shentel.net> - 2021-01-23 07:50 +0100
Re: setuid question David Christensen <dpchrist@holgerdanske.com> - 2021-01-23 09:30 +0100
Re: setuid question Charles Curley <charlescurley@charlescurley.com> - 2021-01-23 01:40 +0100
csiph-web