Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Question about passwords in spells

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Andrew <afrayedknot AT thefrayedknot.armory.com>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] Question about passwords in spells
  • Date: Thu, 2 Dec 2004 16:29:23 -0800

No, everything is run by root, its a problem with pam. The groupadd
pam config is non-existent so it defaults to the pam default which is to ask
for a password. This is further validated by the fact that I dont use
pam and I cannot reproduce the problem by starting cast as either root
or my normal user.

Also, the function to add users and groups is not a
sorcery function it is a grimoire library function. See
/var/lib/sorcery/codex/<grimoire>/FUNCTIONS and libaccount for details.

On Thu, Dec 02, 2004 at 06:21:09PM -0600, Chris Dombroski wrote:
> Apologies to Eric since I just accidentally sent this just to him...
>
> My nonexpert opinion from what I've seen is that the sorcery function to
> add users/groups is not being called with root privs if you're not
> already root when you run cast.
>
> > -----Original Message-----
> > From: sm-discuss-bounces AT lists.ibiblio.org
> > [mailto:sm-discuss-bounces AT lists.ibiblio.org] On Behalf Of
> > Eric Sandall
> > Sent: Thursday, December 02, 2004 1:10 PM
> > To: sm-discuss AT lists.ibiblio.org
> > Subject: Re: [SM-Discuss] Question about passwords in spells
> >
> >
> > Quoting Andrew <afrayedknot AT thefrayedknot.armory.com>:
> > > On Thu, Dec 02, 2004 at 07:29:06PM +0100, Andrew ruskie
> > Levstik wrote:
> > <snip>
> > > > Erm spells do require you to be root so it's su's if
> > you're not last time I
> > > checked
> > > >
> > >
> > > Actually I think he means that while the spell is casting it prompts
> > > for a password, not before it starts. I believe this was
> > determined to
> > > be a problem with pam and groupadd or something.
> > >
> > > -Andrew
> >
> > There is a bug filed for this:
> > http://bugs.sourcemage.org/show_bug.cgi?id=> 7602
> >
> > -sandalle
> >
> >
> > --
> > Eric Sandall |
> > Source Mage GNU/Linux Developer
> > eric AT sandall.us PGP: 0xA8EFDD61 | http://www.sourcemage.org/
> > http://eric.sandall.us/ | SysAdmin @ Inst. Shock
> > Physics @ WSU
> > http://counter.li.org/ #196285 | http://www.shock.wsu.edu/
> >
> > ----------------------------------------------------------------
> > This message was sent using IMP, the Internet Messaging Program.
> > _______________________________________________
> > SM-Discuss mailing list
> > SM-Discuss AT lists.ibiblio.org
> > http://lists.ibiblio.org/mailman/listinfo/sm-discuss
> >
>
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss

--
__________________________________________________________________________
|Andrew D. Stitt | astitt at sourcemage.org |
|irc: afrayedknot | afrayedknot at t.armory.com |
|aim: thefrayedknot or iteratorplusplus | acedit at armory.com |
|Sorcery Team Lead | ftp://t.armory.com/ |
--------------------------------------------------------------------------

Attachment: pgpzfs15JFf5X.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page