LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-29-2004, 03:08 PM   #1
dsharples
LQ Newbie
 
Registered: Aug 2004
Posts: 7

Rep: Reputation: 0
fedora core 2 /etc/secutiry/limits.conf


Hi, I have been installing oracle 10g on fedora core 2 according to a guide on the web (sorry cant post url cos forum wont let me, but you can get to it from oracle-base.com)


One part of this is

Add the following lines to the /etc/security/limits.conf file:

* soft nproc 2047
* hard nproc 16384
* soft nofile 1024
* hard nofile 65536

Add the following line to the /etc/pam.d/login file, if it does not already exist:

session required /lib/security/pam_limits.so


Now I do this, but when I ssh into this machine as anyone but root I get

[root@davelinux security]# ssh oracle@localhost
oracle@localhost's password:
Connection to localhost closed by remote host.
Connection to localhost closed.
[root@davelinux security]#

So I remove the stuff from limits.conf and it lets me in - what did that do and why did it stop me logging in?

Thanks

Dave
 
Old 08-31-2004, 07:44 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Asterisk means "match any user or groupname", don't use an asterisk, but try the Oracle username instead. IMNSHO you best ssh in as a unprivileged user, then sudo or su to user Oracle.
 
  


Reply



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
Fedora Core 2 etc/rc.d/inetd.conf equivilent (networking issues) redness Linux - Networking 0 01-02-2005 06:57 AM
Your Fedora Core 3 yum.conf using mirrors yeehi Fedora - Installation 0 11-13-2004 09:25 AM
How to correctly change resolutions under fedora core 2 with xorg.conf? Braveheart1980 Linux - General 8 10-08-2004 06:44 PM
/etc/security/limits.conf documentation? crazyeddie740 Linux - Security 1 06-19-2004 03:02 AM
Wierd PAM limits.conf behavior Kostko Linux - Software 0 08-26-2003 05:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 08:17 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
Open Source Consulting | Domain Registration