From: Scott Wood <scottwood@freescale.com>
To: khollan <khollan@daktronics.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: BusyBox passwd requires root privileges
Date: Fri, 03 Aug 2007 16:55:26 -0500 [thread overview]
Message-ID: <46B3A44E.1030508@freescale.com> (raw)
In-Reply-To: <11991239.post@talk.nabble.com>
khollan wrote:
>
>
> Scott Wood-2 wrote:
>
>>
>>passwd needs to be setuid root.
>>
>>
>
> How do you do that?
Make sure it's owned by root, and chmod 4755 the binary. I'm not sure
how to go about telling busybox to drop suid when invoked as something
else. It'd probably be better to build two busyboxes, one with all suid
commands and the other with the rest.
-Scott
next prev parent reply other threads:[~2007-08-03 21:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-03 20:49 BusyBox passwd requires root privileges khollan
2007-08-03 20:53 ` Scott Wood
2007-08-03 21:39 ` khollan
2007-08-03 21:55 ` Scott Wood [this message]
2007-08-07 18:39 ` khollan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46B3A44E.1030508@freescale.com \
--to=scottwood@freescale.com \
--cc=khollan@daktronics.com \
--cc=linuxppc-embedded@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).