LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-11-2004, 07:23 AM   #1
Yerzhan
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Rep: Reputation: 0
ulimit over ssh probs


Hi all.
I use RHEL 3 AS.

$ uname -a
Linux srv 2.4.21-4.ELsmp #1 SMP Fri Oct 3 17:52:56 EDT 2003 i686 i686 i386 GNU/Linux
$ cat /etc/security/limits.conf
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
$ cat /etc/pam.d/login
auth required pam_securetty.so
auth required pam_stack.so service=system-auth
auth required pam_nologin.so
account required pam_stack.so service=system-auth
password required pam_stack.so service=system-auth
session required pam_stack.so service=system-auth
session optional pam_console.so
session required /lib/security/pam_limits.so

If I'm doing this:
$ ulimit -u 16384
on /dev/tty1, then everything is ok, but if on /dev/pts/0 (from another RHEL 3 AS through ssh), then:
$ ulimit -u 16384
-bash: ulimit: max user processes: cannot modify limit: Operation not permitted
Why does this happen?
Thanks.
 
Old 12-05-2004, 04:11 PM   #2
subhashb
LQ Newbie
 
Registered: Dec 2004
Posts: 3

Rep: Reputation: 0
Post ulimit problem

try the same command as root , b'coz ulimit is supposed to be set by root!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ulimit Serena Linux - Software 6 12-18-2014 12:04 AM
ssh and ftp probs hitesh_linux Linux - Networking 6 07-21-2005 09:55 AM
ulimit -t juanbobo Linux - Security 3 06-10-2005 10:43 AM
Ulimit -v Help !!!!!!!!!!!!!!!!!!!!!! raees Linux - Software 1 07-04-2004 11:01 AM
ulimit -n evilrico Linux - Distributions 0 03-14-2003 05:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration