Increase the filesize ulimit for a user?

Hi Guys,

How do I increase the filesize ulimit for user jf01474, using the same value as of user oracle?

Ex: /etc/security/limits

default:
        fsize = 4194302
        core = 2097151
        cpu = -1
        data = 262144
        rss = 65536
        stack = 65536
        nofiles = 2000

oracle:
        fsize = -1
        data = -1
        stack = -1
        fsize_hard = -1
        nofiles = -1
        nofiles_hard = -1

jf01474:

sb11277:

I have put code-tags around the listing, it makes te stanza-format easier to read.

The file /etc/security/limits works this way: a user will use the values of the "default"-stanza but explizit values overwrite these defaults for the specific user. Thereofre: copy the values of the oracle-user to the other user-id to change it to the same values:

default:
        fsize = 4194302
        core = 2097151
        cpu = -1
        data = 262144
        rss = 65536
        stack = 65536
        nofiles = 2000

oracle:
        fsize = -1
        data = -1
        stack = -1
        fsize_hard = -1
        nofiles = -1
        nofiles_hard = -1

jf01474:
        fsize = -1
        data = -1
        stack = -1
        fsize_hard = -1
        nofiles = -1
        nofiles_hard = -1

sb11277:

The user hast to log on again to use these new values.

I hope this helps.

bakunin

Hi Bakunin, thanks for this, actually I know someone would answer it this way, actually what im asking is the command used using ulimit, how do I do it using ulimit command?

You don't, read the ulimit man page or command reference.

You change a users settings with the chuser command.

chuser attribute=value name.

Read the chuser man page or command reference for more info.

FFS RTFM! it is much quicker than posting half a question and hoping for the correct answer.