search for: setgroup

Displaying 20 results from an estimated 314 matches for "setgroup".

Did you mean: setgroups
2005 Mar 14
2
Has anybody experience with SetGroup / CheckGroup commands?
I am checking on the SetGroup / CheckGroup commands, but I have some troubles to undestand the examples. SetGroup(moh) can be moh anything as I like? Usually moh stands for "music on hold" CheckGroup(1) checks if somebody in in group "moh". Does it mean I can only have one SetGroup(xxx) ?? When I loo...
2005 Jan 24
1
SetGroup and CheckGroup problems
I have a rather long dial plan, but it includes support for call waiting. However, the setgroup checkgroup commands don't seem to be working. Can anyone help on this one? Excerpts are below. First exten-vm is dialed and then dial-new. As I understand, priority 1 increments the active channels for the caller and then in "dial-new" priority 8 increments for Arg3, or the Callee e...
2018 Oct 11
3
macOS Mojave: setgroups(501) failed: Too many extra groups
Hello, I have recently upgraded to macOS 10.14 (Mojave) and am running into an issue where one use can no longer log into dovecot via imap. Log shows Oct 11 08:10:27 imap(hwr)<12659><YpC/0+133+EAAAAAAAAAAAAAAAAAAAAB>: Fatal: setgroups(501) failed: Too many extra groups and indeed, the user is in 17 groups, which is more than NGROUPS_MAX (16). Another user with << 16 groups can log in fine. Unfortunately it is not (easily) doable to reduce the number of groups, as macOS seems to set them internally. Is there a config o...
2002 Jun 10
1
setgroups error in Rsync: Configuration or Missing Part?
...other with a client running. I was encountering an @ERROR: chroot failed error in my messages. I found that the problem lied in a misconfiguration of the rsyncd.conf file. I had tried to specify a POSIX pathway using the quoted foward-slash method. Once I got past that, the next error was @ERROR: setgroups failed. However, unlike chroot, I don't have this program on my system. I've looked on the 'net, and only found setgroups defined as a c function setgroups() which seemed to be part of the rsync raw source code. Is this an error in the rsync program or am I missing an external program?...
2015 Jun 20
3
[PATCH] Fix potential use after free in uidswap.c (portable)
...ut probably rather unlikely) use after free bug in function temporarily_use_uid(), file uidswap.c. --- a/uidswap.c +++ b/uidswap.c @@ -113,8 +113,9 @@ temporarily_use_uid(struct passwd *pw) } } /* Set the effective uid to the given (unprivileged) uid. */ - if (setgroups(user_groupslen, user_groups) < 0) - fatal("setgroups: %.100s", strerror(errno)); + if (user_groupslen > 0 && + (setgroups(user_groupslen, user_groups)) < 0) + fatal("setgroups: %.100s", strerror(errno)); Best regard...
2002 Jun 07
4
openssh for UWIN
...uidswap.c.orig Thu Dec 20 22:45:52 2001 --- uidswap.c Thu May 30 16:36:30 2002 *************** *** 80,86 **** if (user_groupslen < 0) fatal("getgroups: %.100s", strerror(errno)); } ! #ifndef HAVE_CYGWIN /* Set the effective uid to the given (unprivileged) uid. */ if (setgroups(user_groupslen, user_groups) < 0) fatal("setgroups: %.100s", strerror(errno)); --- 80,86 ---- if (user_groupslen < 0) fatal("getgroups: %.100s", strerror(errno)); } ! #if !defined(HAVE_CYGWIN) && !defined(_UWIN) /* Set the effective uid to the...
2002 Jun 13
1
[2.PATCH]: Eliminate typo in bsd-misc.*
...== RCS file: /cvs/openssh_cvs/openbsd-compat/bsd-misc.c,v retrieving revision 1.7 diff -u -p -r1.7 bsd-misc.c --- openbsd-compat/bsd-misc.c 12 Jun 2002 16:57:15 -0000 1.7 +++ openbsd-compat/bsd-misc.c 13 Jun 2002 20:43:04 -0000 @@ -123,7 +123,7 @@ int truncate (const char *path, off_t le * Cygwin setgroups should be a noop. */ int -setgroups(size_t size, const git_t *list) +setgroups(size_t size, const gid_t *list) { return 0; } Index: openbsd-compat/bsd-misc.h =================================================================== RCS file: /cvs/openssh_cvs/openbsd-compat/bsd-misc.h,v retrieving...
2005 Jan 10
1
SetGroup
Hi All, I use the SetGroup command to identify if a specific extension is in use. I create a group for each extension and check against that group name when putting through any further calls. A problem I am finding is that with internal calls I want to increment both the called and calling extension and SetGroup only ap...
2018 Oct 11
2
macOS Mojave: setgroups(501) failed: Too many extra groups
On Thu, Oct 11, 2018 at 09:51:34AM +0300, Aki Tuomi wrote: > > Looking at the source, I see this is handled in > > src/lib/restrict-access.c::fix_groups_list(), > > where above the call to setgroups() a gid_list2 is constructed. I > > wonder if one could > > have a config option to prevent adding all those extra groups, which > > then make the > > call to setgroups() fail > Not trivially. We would need to know which groups to drop and which not. Looking at id out...
2005 Mar 08
2
Queue and SetGroup
I manage the PBX system for a medium sized call center. Where all calls are distributed via a few call Queues. However I am having an issue where reps are being distributed calls regardless of wether they are on a call. I have looked into using SetGroup but I don't think this works with Call Queues. I have also looked into incomingcalllimit and that seems to no longer work. Any sugestions? Not sure if it matters but I am using AgentCallbackLogin as a login method. -------------- next part -------------- An HTML attachment was scrubbed... URL...
2005 Jan 26
1
Inbound analog Telco line not answered
...; The call was internal to extension, and was busy exten => o,1,Background(one-moment-please) ; 0 during vm message will hangup exten => o,2,Hangup ; Ring an extension, if the extension is busy or there is no answer send it ; to voicemail ; ARGS: $VMBOX, $EXT [macro-exten-vm] exten => s,1,SetGroup(${CALLERIDNUM}) exten => s,2,SetMusicOnHold(default) exten => s,3,Setvar(FROMCONTEXT=exten-vm) exten => s,4,Macro(dial,${RINGTIMER},${DIAL_OPTIONS},${ARG2}) exten => s,5,Wait(1) exten => s,6,Voicemail(u${ARG1}) ; no answer to voicemail exten => s,7,Macro(hangupcall) exten =&g...
2005 Feb 24
1
[PATCH] Drop SETGROUPS_NOOP
Hi, the SETGROUPS_NOOP define is used only for Cygwin. But it's also combined with the HAVE_SETGROUPS test in bsd-misc.c. So, since setgroups() exists and is functional in Cygwin, this is actually a noop in the more general sense. The below patch drops that entirely. Corinna Index: acconfig.h ============...
2018 Oct 11
0
macOS Mojave: setgroups(501) failed: Too many extra groups
...09:28, Heiko W. Rupp wrote: > Hello, > > I have recently upgraded to macOS 10.14 (Mojave) and am running into > an issue where one use can no longer log into dovecot via imap. Log shows > > Oct 11 08:10:27 imap(hwr)<12659><YpC/0+133+EAAAAAAAAAAAAAAAAAAAAB>: > Fatal: setgroups(501) failed: Too many extra groups > > and indeed, the user is in 17 groups, which is more than NGROUPS_MAX > (16). > Another user with << 16 groups can log in fine. Unfortunately it is > not (easily) doable to reduce > the number of groups, as macOS seems to set them inter...
2004 Jun 25
1
Howto: Use setgroup, checkgroup to check incoming and outgoing client limits
Hi there, I was wondering how I can use setgroup and checkgroup for perfom incoming and outgoing limitation checks. I've have some users that doesn't what to be able to recieve more than 1 call at a time, and I also want to limit a users outgoing call abilities. Any help would be greatly appreciated. Kind regards Cf --- Outgoing mail...
2004 Jun 28
1
SetGroup and CheckGroup
Does anyone know if SetGroup and CheckGroup apply to only current context or is it per server based? Ta SJ
2004 Sep 12
1
SetGroup Limitation!!!
Hi all, I am just scratching my head trying to work out a way to use SetGroup to check busy status on a sip to sip call. The complication is that one call can't be in two groups so I have got no way of setting busy status on both the calling and called party. Has anyone got a way around this. Thanks Daniel -------------- next part -------------- An HTML...
2004 Mar 04
1
@ERROR: setgroups failed
...S X machines running Jaguar 10.2 that's set to rsync over important files for backup purposes. The rsync was happening without any problems until the last Jaguar security update was installed a few weeks ago or so. Now they are giving the below errors and the rsync does not happen: @ERROR: setgroups failed rsync: connection unexpectedly closed (78 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(190) The machines running Jaguar are running rsync version 2.5.7 with the exception of one computer, which is running rsync version 2.5.2. Would anyone have any...
2018 Oct 11
0
macOS Mojave: setgroups(501) failed: Too many extra groups
On 11.10.2018 10:08, Heiko W. Rupp wrote: > On Thu, Oct 11, 2018 at 09:51:34AM +0300, Aki Tuomi wrote: >>> Looking at the source, I see this is handled in >>> src/lib/restrict-access.c::fix_groups_list(), >>> where above the call to setgroups() a gid_list2 is constructed. I >>> wonder if one could >>> have a config option to prevent adding all those extra groups, which >>> then make the >>> call to setgroups() fail > >> Not trivially. We would need to know which groups to drop and which no...
2002 Jun 25
0
[Bug 298] New: sshd fails to set user context, preventing all logins, also setgroups is failing
http://bugzilla.mindrot.org/show_bug.cgi?id=298 Summary: sshd fails to set user context, preventing all logins, also setgroups is failing Product: Portable OpenSSH Version: -current Platform: ix86 OS/Version: BSDI Status: NEW Severity: major Priority: P2 Component: sshd AssignedTo: openssh-unix-dev at mindrot.org ReportedBy: s...
2004 Jul 30
1
FW: Limit incoming calls to SIP Channels
Hi All, Can someone please tell me how to limit incoming calls to SIP channels using the SetGroup & Checkgroup command. I don't want any call waiting on SIP channels and you are somehow meant to be able to do it with these commands. Many Thanks Daniel Niasoff