Displaying 20 results from an estimated 51 matches for "maxlogins".
2014 Jul 17
2
ulimit warning when restarting
...rnal_user = dovecot
Should dovecot print this warning based on $default_internal_user, or
based on root?
As root:
# ulimit -n
1024
As user dovecot:
$ ulimit -n
49152
$ whoami
dovecot
# grep dovecot /etc/security/limits.conf
dovecot hard locks 49152
dovecot hard nofile 49152
dovecot hard maxlogins 8192
dovecot soft locks 49152
dovecot soft nofile 49152
dovecot soft maxlogins 8192
2019 Aug 20
2
Limit concurrent SSH sessions
Hi,
For one of my application, for accepting the ssh connection on different
namespaces, I am instantiating "sshd service" on different namespaces. I am
able to create ssh connection on each namespcae but I want to put a
limitation on max concurrent ssh connection to 5 for each namespace. Is
there a way to achieve it using openssh.
Thanks & Regards
Amit
2019 Jan 17
2
Authentication lost within session
...nnection, session happens after a few seconds, all on local
> test network.
Sorry I mistakenly overlooked at the ip:s. But anyway that is multiple connections and seems that PAM has some concurrency limit and refuses the third connection Thunderbird opens.
so you probably have pam_limits with maxlogins=2 enabled.
Sami
2023 Mar 30
3
sftp and utmp
...to one per user (because of bad
client behaviour). Is there any way to achieve this I have overlooked?
It seems it could be possible with pam_limits, if sftp sessions were
recorded in utmp (a guess from what I found googling around). If I
configure /etc/security/limits.conf with
testuser hard maxlogins 1
and connect with ssh, and try a second connection with sftp, the sftp
fails because there is already one session open. But if I connect with
sftp and try a second sftp connection, it is allowed.
Is there some way to have sftp connections recorded in utmp? I haven't
found any reference to...
2023 Apr 03
2
sftp and utmp
...; client behaviour). Is there any way to achieve this I have overlooked?
>
> It seems it could be possible with pam_limits, if sftp sessions were
> recorded in utmp (a guess from what I found googling around). If I
> configure /etc/security/limits.conf with
>
> testuser hard maxlogins 1
>
> and connect with ssh, and try a second connection with sftp, the sftp
> fails because there is already one session open. But if I connect with
> sftp and try a second sftp connection, it is allowed.
>
> Is there some way to have sftp connections recorded in utmp? I haven...
2004 Dec 27
6
realtime voicemail
Paste your extensions.conf section that is relevant.
-Matthew
----- Original Message -----
From: "Greg - Cirelle Enterprises" <gcirino@cirelle.com>
To: <asterisk-dev@lists.digium.com>
Sent: Monday, December 27, 2004 4:32 PM
Subject: [Asterisk-Dev] realtime voicemail
> Let me clarify my last message.
>
> If I put in the wrong password I get polled
> again for
2003 Oct 25
2
Voicemail help
hi,
i am trying to do autoattendant but failing. as in the
manual i inserted the background(welcome-mainmenu)
file so that after the sound the caller can dial the
extension he wants to call. i figured that the
background sound wasn't coming in the asterisk. how do
we do this without first loading the welcome message?
for example after certain rings the caller can dial
the extension no to
2005 Feb 07
1
Voicemail timeouts after 30sec's everytime.
...nes the fact that it will time out
at 30sec's.
Does any have any ideas as to why this would do this and how I could go
about correcting the issue?
Thanks.
David
[general]
format=wav49|gsm|wav
serveremail=asterisk@unifiedau.net
attach=yes
maxmessage=360
minmessage=1
maxgreet=60
maxsilence=0
maxlogins=3
sendvoicemail=yes
review=yes
[zonemessages]
eastern=Australian/Sydney|'vm-received' Q 'digits/at' IMp
[default]
;mailboxs follow here.
2001 Feb 08
0
openssh2.3.0p1 and /etc/limits
...ol(value, endptr, 10);
+ if ((prio == 0) && (value == *endptr))
+ return 0;
+ if (setpriority(PRIO_PROCESS, 0, prio))
+ return LOGIN_ERROR_RLIMIT;
+ return 0;
+}
+
+
+/* Counts the number of user logins and check against the limit */
+static int
+check_logins(const char *name, const char *maxlogins)
+{
+ struct utmp *ut;
+ unsigned int limit, count;
+ char **endptr = (char **) &maxlogins;
+ const char *ml_orig = maxlogins;
+
+ limit = strtol(maxlogins, endptr, 10);
+ if (limit == 0 && ml_orig == *endptr) /* no chars read */
+ return 0;
+
+ if (limit == 0) /* maximum 0 logins ? */...
2004 Jul 20
1
RC1 and advanced voice mail options
...e complete voicemail.conf file.
Any help would be appreciated.
David
dfilion@dotality.com
============================== Begin ============================
;
; Voicemail Configuration
;
[general]
format=wav49|gsm|wav
serveremail=asterisk
attach=yes
skipms=3000
maxsilence=10
silencethreshold=128
maxlogins=3
mailcmd=/usr/local/postfix/sbin/sendmail -t
tz=eastern
attach=yes
saycid=yes
dialout=default
callback=default
review=yes
operator=no
envelope=yes
delete=no
nextaftercmd=yes
[zonemessages]
eastern=America/New_York|'vm-received' Q 'digits/at' IMp
central=America/Chicago|'vm-re...
2002 Nov 11
2
making Samba works together with PAM
...ething is missing on this list!
I need to setup on a Linux + Samba (PDC) to restrict
just one login per ID (not allow two logins with same
id).So:
1 - edit /etc/pam.d/samba -> chaging session line with
session required /lib/security/pam_limits.so
2 - in /etc/security/limits.conf:
* - maxlogins 1
3 - in smb.conf:
obey pam restrictions = yes
utmp = yes
4 - compile Samba --with-utmp
And the last question: Samba provided by RedHat
7.3(valhalla) as RPM package has the --with-utmp
option compiled, or I must download the source code of
2.2.6 to get this feature?
Thank you very much...
2004 Sep 17
3
MySQL Voicemail Problems
...---+-----------------+------------+---------+
1 row in set (0.01 sec)
mysql> \q
Bye
Voicemail.conf looks like this:
;
; Voicemail Configuration
;
[general]
; Default formats for writing Voicemail
format=wav49
serveremail=support@tss.net
attach=yes
skipms=3000
maxsilence=5
silencethreshold=128
maxlogins=5
dbuser=asterisk
dbpass=xxxxxxx
dbhost=localhost
dbname=asterisk
pbxskip=yes
fromstring=Passnet Voicemail
[zonemessages]
eastern=America/New_York|'vm-received' Q 'digits/at' IMp
central=America/Chicago|'vm-received' Q 'digits/at' IMp
central24=America/Chicago|...
2009 Jul 07
1
Voicemail attachments not working
...se of sharing with the world. However, I have
made sure there are not spaces between fields as I hear that causes
problems.
[general]
format = gsm|wav49|wav
attach = yes
serveremail = asterisk
serveremail = noreply at mustangintl.com
mailcmd = /usr/sbin/sendmail -v -t -f asterisk at hisg-it.net
maxlogins = 3
emaildateformat = %A, %B %d, %Y at %r
sendvoicemail = yes ; Allow the user to compose and send a voicemail while
inside
emailsubject = [PBX]: New message ${VM_MSGNUM} in mailbox ${VM_MAILBOX}
[zonemessages]
eastern = America/New_York|'vm-received' Q 'digits/at' IMp
central = A...
2009 Aug 24
1
Problems sending voicemail emails
...ying my Asterisk to send emails when a new message arribes to a
voicemail user but no email arribes.
my voicemail configuration is the following:
VOICEMAIL.CONF:
[general]
format=wav
serveremail=asterisk at mydomain.com
attach=yes
maxmsg=20
maxsecs=180
minsecs=3
maxsilence=10
silencethreshold=128
maxlogins=3
fromstring="My Asterisk"
When I look at maillog file, this is what I get:
* n7OCivth003603: from=root, size=5340, class=0, nrcpts=1, msgid=<
Asterisk-1-227856683-222-3479 at MYSERVER>, relay=root at localhost
* n7OCiw9W003604: from=<root at localhost.localdomain>, size=5473...
2016 Dec 22
4
[Bug 2648] New: allow max connections config
https://bugzilla.mindrot.org/show_bug.cgi?id=2648
Bug ID: 2648
Summary: allow max connections config
Product: Portable OpenSSH
Version: 7.4p1
Hardware: Other
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: sshd
Assignee: unassigned-bugs at mindrot.org
2023 Mar 31
2
sftp and utmp
...e any way to achieve this I have overlooked?
> >
> > It seems it could be possible with pam_limits, if sftp sessions were
> > recorded in utmp (a guess from what I found googling around). If I
> > configure /etc/security/limits.conf with
> >
> > testuser hard maxlogins 1
> >
> > and connect with ssh, and try a second connection with sftp, the sftp
> > fails because there is already one session open. But if I connect with
> > sftp and try a second sftp connection, it is allowed.
> >
> > Is there some way to have sftp connecti...
2005 May 10
3
Voicemail Passwords
Where are user's voicemail passwords stored and how does the asterisk
administrator change them?
TIA,
Jeff Heath
2006 Jun 12
2
Bug in Voicemail ??
Hello,
I have setup an Asterisk 1.2.7.1 system, with a working voicemail box:
/etc/asterisk/extensions.conf
exten => 83086921,1,Answer
exten => 83086921,2,Dial(SIP/stefan,5,r)
exten => 83086921,3,VoiceMail,u111
exten => 83086921,4,Hangup
exten => 83086921,103,VoiceMail,b111
exten => 83086921,104,Hangup
/etc/asterisk/voicemail.conf
[default]
language=de
111 =>
2006 Mar 21
2
Voice mail not working with Asteriks 1.2.5
...ave searched for solution a lot can Any one of you let me know how can I
solve this issue do I need to apply any patch for asterisk
Here is voicemail.conf config file
[general]
format=wav49|gsm|wav
serveremail=asterisk
attach=yes
skipms=3000
maxsilence=10
silencethreshold=128
maxlogins=3
saycid=yes
[zonemessages]
eastern=America/New_York|'vm-received' Q 'digits/at' IMp
central=America/Chicago|'vm-received' Q 'digits/at' IMp
central24=America/Chicago|'vm-received' q 'digits/at' H 'digits/hundred' M
'hours'
[...
2007 Aug 28
2
Voicemail Password Issue
...conf file there is no
problem. I tried looking on internet for any information, but I found
nothing useful.
Does anybody have any insight on why I can't change my voicemail pin via
the Sip phone? Thanks in advance.
Here is my voicemail.conf file:
maxsilence = 10
silencethreshold = 128
maxlogins = 3
emaildateformat = %A, %B %d, %Y at %r
tz = central
dialout = outbound
sendvoicemail = yes
callback = outbound
review = yes
nextaftercmd = yes
[zonemessages]
eastern = America/New_York|'vm-received' Q 'digits/at' IMp
central = America/Chicago|'vm-received' Q 'digits/...