In article <memo.20110117173833.14188I@postmaster+dexdyne.com.cix.co.uk>, [email protected] (David Collier) wrote:
> *From:* "David Collier" <[email protected]> > *To:* [email protected] > *Date:* Mon, 17 Jan 2011 17:38 +0000 (GMT Standard Time) > > I have the following set-up > > $ ls -l /bin/busybox > -rwsr-xr-x 1 root root 376108 2008-09-07 23:29 /bin/busybox > > $ ls -l /bin/date > -rwsr-xr-x 1 root root 55052 2008-04-04 14:22 /bin/date > > if I login as web, I can change the date with "date", but if I do > "busybox date" it comes back with > > date: cannot set date: Operation not permitted > > Can anyone suggest why I've failed to get busybox to adopt root > user and > do the job? > just to report --- I have inherited a unit where if I log in as web, and then say "whoami" the answer comes back "root" I'm trying to reproduce that effect ( please don't tell me not to, I need a quick kludge and I'll fix it properly later ) I guess setting the suid bit on the busybox exe is part of it, but clearly not the whole of it! _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
