[development] "Sudo" Module

James Benstead james.benstead at gmail.com
Mon Aug 9 16:48:47 UTC 2010

Thanks - both of these modules solve half of the problem (i.e., the
switching part) - but neither seem to allow me to force the user to enter
the root password in order to switch to the root account. Very useful,
though; two new questions:

   1. If I were to build a module that was dependent on either masquerade or
   devel switch user to provide the functionality I'm talking about, which
   module would be the best foundation?
   2. Is there a simple way I can mash-up this module with the regular user
   module to do this? I'm guessing there must be.

Thanks again, guys; the best bit about Drupal (and the Drupal community) is
not having to re-invent the wheel ;)

My IM and Skype details are at http://state68.com/contact

Paolo Mainardi:


On 9 August 2010 17:40, Pedro Faria de Miranda Pinto
<predofaria at gmail.com>wrote:

> You can use devel module with switch user block
> On Mon, Aug 9, 2010 at 1:35 PM, James Benstead <james.benstead at gmail.com>wrote:
>> I'm very interested in UI design, and mapping the design of Drupal admin
>> interfaces to pre-existing, long-standing frameworks. I'm currently looking
>> for a module that allows a "site manager" to quickly switch to and from the
>> root user of a D6 site - in my mind's eye this module displays a block with
>> a password field and a submit button; entering the root password and hitting
>> the button is broadly equivalent to "sudo su" in Unix. Once the user has
>> root privileges, a click on the "step down" button in the same block returns
>> them to their saved regular session.
>> My question: does a module exists that does this, or gets close to this?
>> Or is it possible to cobble together this functionality by using existing
>> functionality in already-existing D6 modules?
>> Thanks,
>> --Jim
>> --
>> My IM and Skype details are at http://state68.com/contact
> --
> Pedro Faria de Miranda Pinto
> http://www.eusouopedro.com
> http://www.phpavancado.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20100809/e29ec35a/attachment.html 

More information about the development mailing list