linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: khollan <khollan@daktronics.com>
To: linuxppc-embedded@ozlabs.org
Subject: Re: BusyBox passwd requires root privileges
Date: Tue, 7 Aug 2007 11:39:30 -0700 (PDT)	[thread overview]
Message-ID: <12039968.post@talk.nabble.com> (raw)
In-Reply-To: <46B3A44E.1030508@freescale.com>



Scott Wood-2 wrote:
> 
> 
> 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
> 
> 
I chmod 4755 to the passwd binary and it worked.  Before I did that I also
added a Busybox.conf file in /etc with this in it...
[SUID]
passwd = ssx root.root

I don't know if I needed that or not but it works now. Thanks
-- 
View this message in context: http://www.nabble.com/BusyBox-passwd-requires-root-privileges-tf4214675.html#a12039968
Sent from the linuxppc-embedded mailing list archive at Nabble.com.

      reply	other threads:[~2007-08-07 18:39 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
2007-08-07 18:39       ` khollan [this message]

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=12039968.post@talk.nabble.com \
    --to=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).