sshd and /etc/security/limits.conf
- From: "Thoralf Will" <thoralf.will@xxxxxxxxx>
- Date: 24 Jan 2007 06:27:21 -0800
got a strange problem when setting user limits.
/etc/security/limits.conf:
* soft memlock unlimited
* hard memlock unlimited
* soft nofile 8192
* hard nofile 8192
(ssh-login as service)
service@test ~> ulimit -n
1024
service@test ~> su -
Password:
root@test ~> /etc/init.d/sshd restart
Stopping sshd: [ OK ]
Starting sshd: [ OK ]
(logging off)
(ssh-login as service)
service@test ~> ulimit -n
8192
why do i need to restart sshd to get the real limits and how can i
change that?
.
- Follow-Ups:
- Re: sshd and /etc/security/limits.conf
- From: Thoralf Will
- Re: sshd and /etc/security/limits.conf
- Prev by Date: Adding new SCSI Hard disk
- Next by Date: Re: sshd and /etc/security/limits.conf
- Previous by thread: Adding new SCSI Hard disk
- Next by thread: Re: sshd and /etc/security/limits.conf
- Index(es):
Relevant Pages
|