* BusyBox passwd requires root privileges
@ 2007-08-03 20:49 khollan
2007-08-03 20:53 ` Scott Wood
0 siblings, 1 reply; 5+ messages in thread
From: khollan @ 2007-08-03 20:49 UTC (permalink / raw)
To: linuxppc-embedded
I log on as a user and I want to use passwd to change that users password but
it gives me the
passwd: applet requires root privileges!
I can login as root and change all user passwords, but I want individual
owners to be able to update their passwords. Any ideas?
Thanks
khollan
--
View this message in context: http://www.nabble.com/BusyBox-passwd-requires-root-privileges-tf4214675.html#a11990563
Sent from the linuxppc-embedded mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: BusyBox passwd requires root privileges
2007-08-03 20:49 BusyBox passwd requires root privileges khollan
@ 2007-08-03 20:53 ` Scott Wood
2007-08-03 21:39 ` khollan
0 siblings, 1 reply; 5+ messages in thread
From: Scott Wood @ 2007-08-03 20:53 UTC (permalink / raw)
To: khollan; +Cc: linuxppc-embedded
khollan wrote:
> I log on as a user and I want to use passwd to change that users password but
> it gives me the
> passwd: applet requires root privileges!
> I can login as root and change all user passwords, but I want individual
> owners to be able to update their passwords. Any ideas?
passwd needs to be setuid root.
-Scott
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: BusyBox passwd requires root privileges
2007-08-03 20:53 ` Scott Wood
@ 2007-08-03 21:39 ` khollan
2007-08-03 21:55 ` Scott Wood
0 siblings, 1 reply; 5+ messages in thread
From: khollan @ 2007-08-03 21:39 UTC (permalink / raw)
To: linuxppc-embedded
Scott Wood-2 wrote:
>
>
> passwd needs to be setuid root.
>
>
How do you do that?
--
View this message in context: http://www.nabble.com/BusyBox-passwd-requires-root-privileges-tf4214675.html#a11991239
Sent from the linuxppc-embedded mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: BusyBox passwd requires root privileges
2007-08-03 21:39 ` khollan
@ 2007-08-03 21:55 ` Scott Wood
2007-08-07 18:39 ` khollan
0 siblings, 1 reply; 5+ messages in thread
From: Scott Wood @ 2007-08-03 21:55 UTC (permalink / raw)
To: khollan; +Cc: linuxppc-embedded
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: BusyBox passwd requires root privileges
2007-08-03 21:55 ` Scott Wood
@ 2007-08-07 18:39 ` khollan
0 siblings, 0 replies; 5+ messages in thread
From: khollan @ 2007-08-07 18:39 UTC (permalink / raw)
To: linuxppc-embedded
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-08-07 18:39 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).