sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
Re: [SM-Sorcery] Re: [SM-Discuss] Re: [Bug 2129] openssh should create ssh user
- From: Dufflebunk <dufflebunk AT dufflebunk.homeip.net>
- To: Ladislav Hagara <hgr AT vabo.cz>
- Cc: Casey Harkins <charkins AT upl.cs.wisc.edu>, sm-discuss AT lists.ibiblio.org, charkins AT pobox.com, sm-sorcery AT lists.ibiblio.org
- Subject: Re: [SM-Sorcery] Re: [SM-Discuss] Re: [Bug 2129] openssh should create ssh user
- Date: 24 Jan 2003 10:03:59 -0500
This was fixed last night (hmm did I remember to close the bug?). The
fix is to comment out line 41 of libgrimoire and add the line
'nogroup:65534:' to /etc/sorcery/groups.
On Fri, 2003-01-24 at 04:56, Ladislav Hagara wrote:
> Sorcery team, please, could you modify /etc/sorcery/accounts and
> /etc/sorcery/groups according to
> http://bugs.sourcemage.org/show_bug.cgi?id=2129#c3
>
> I installed latest iso http://download.sourcemage.org/iso/ :
> /etc/sorcery/accounts contains sshd:111:65534
> /etc/group contains nogroup with 65534
> /etc/sorcery/groups contains sudo:111:
>
> My suggestion:
> /etc/sorcery/accounts could contains sshd:111:111
> /etc/sorcery/groups could be modified, I would added group sshd:111:
> and modify group sudo:111: to for example sudo:114:
>
> Why does sshd use nogroup? I think sshd could have its own group sshd.
> Or modify create_account function to ignore nogroup in /etc/passwd.
>
> Please.
> --
> Ladislav Hagara, Crypto Section Maintainer
> -
>
>
>
> > Thought I'd get some input from everyone on how to handle this bug. The
> > problem is with the create_user function in the openssh spell. The spell
> > attempts to create the user/group sshd, it checks the
> > /etc/sorcery/accounts file and determines that the user sshd should have
> > id=111 and group=65534. The /etc/sorcery/groups file does not list an sshd
> > group. The create_user function first tries to create a group called sshd
> > with id=65534 (why does it do this?), this fails because the group
> > 'nogroup' already exists with this id. Then it tries to create the user
> > sshd with group='sshd', since creating the group failed, creating the user
> > using the group name also fails.
> >
> > I'm not exactly sure how this is suppose to function. Should sorcery be
> > creating the group if there is no entry in /etc/sorcery/groups? If so,
> > then does it always assume the groupname=username? If sorcery shouldn't
> > create the group, then the create_user function should use the numeric
> > group id specified in /etc/sorcery/accounts rather than the user name for
> > the group. I'm guessing the ideal solution is to just add an sshd group to
> > /etc/sorcery/groups (the group id number will also need to be changed in
> > /etc/sorcery/accounts).
> >
> > For more info:
> > http://bugs.sourcemage.org/show_bug.cgi?id=2129
> >
> > -casey
> >
> > _______________________________________________
> > SM-Discuss mailing list
> > SM-Discuss AT lists.ibiblio.org
> > http://lists.ibiblio.org/mailman/listinfo/sm-discuss
>
> _______________________________________________
> SM-Sorcery mailing list
> SM-Sorcery AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-sorcery
-
[SM-Discuss] Re: [Bug 2129] openssh should create ssh user,
Casey Harkins, 01/23/2003
-
Re: [SM-Discuss] Re: [Bug 2129] openssh should create ssh user,
Ladislav Hagara, 01/24/2003
-
Re: [SM-Sorcery] Re: [SM-Discuss] Re: [Bug 2129] openssh should create ssh user,
Dufflebunk, 01/24/2003
-
Re: [SM-Sorcery] Re: [SM-Discuss] Re: [Bug 2129] openssh shouldcreate ssh user,
Ladislav Hagara, 01/24/2003
-
Re: [SM-Sorcery] Re: [SM-Discuss] Re: [Bug 2129] openssh shouldcreate ssh user,
Dufflebunk, 01/24/2003
-
Re: [SM-Sorcery] Re: [SM-Discuss] Re: [Bug 2129] opensshshouldcreate ssh user,
Ladislav Hagara, 01/24/2003
- Re: [SM-Sorcery] Re: [SM-Discuss] Re: [Bug 2129] opensshshouldcreate ssh user, Dufflebunk, 01/24/2003
-
Re: [SM-Sorcery] Re: [SM-Discuss] Re: [Bug 2129] opensshshouldcreate ssh user,
Ladislav Hagara, 01/24/2003
-
Re: [SM-Sorcery] Re: [SM-Discuss] Re: [Bug 2129] openssh shouldcreate ssh user,
Dufflebunk, 01/24/2003
-
Re: [SM-Sorcery] Re: [SM-Discuss] Re: [Bug 2129] openssh should create ssh user,
Adam Clark, 01/24/2003
-
Re: [SM-Sorcery] Re: [SM-Discuss] Re: [Bug 2129] openssh should create ssh user,
Dufflebunk, 01/24/2003
-
Re: [SM-Sorcery] Re: [SM-Discuss] Re: [Bug 2129] openssh should create ssh user,
Pierre Abbat, 01/24/2003
-
Re: [SM-Sorcery] Re: [SM-Discuss] Re: [Bug 2129] openssh should create ssh user,
Dufflebunk, 01/24/2003
- Re: [SM-Sorcery] Re: [SM-Discuss] Re: [Bug 2129] openssh should create ssh user, Pierre Abbat, 01/27/2003
- Re: [SM-Sorcery] Re: [SM-Discuss] Re: [Bug 2129] openssh should create ssh user, Jason Flatt, 01/28/2003
-
Re: [SM-Sorcery] Re: [SM-Discuss] Re: [Bug 2129] openssh should create ssh user,
Dufflebunk, 01/24/2003
-
Re: [SM-Sorcery] Re: [SM-Discuss] Re: [Bug 2129] openssh should create ssh user,
Pierre Abbat, 01/24/2003
-
Re: [SM-Sorcery] Re: [SM-Discuss] Re: [Bug 2129] openssh should create ssh user,
Dufflebunk, 01/24/2003
-
Re: [SM-Sorcery] Re: [SM-Discuss] Re: [Bug 2129] openssh shouldcreate ssh user,
Ladislav Hagara, 01/24/2003
-
Re: [SM-Sorcery] Re: [SM-Discuss] Re: [Bug 2129] openssh should create ssh user,
Dufflebunk, 01/24/2003
-
Re: [SM-Discuss] Re: [Bug 2129] openssh should create ssh user,
Ladislav Hagara, 01/24/2003
Archive powered by MHonArc 2.6.24.