cannot save changes in terminal

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

cannot save changes in terminal

Postby marten » Jan 19th, '14, 03:40

hi,i am fairly new to linux, i have been trying to get qjackctl to work properly.When i go to konsole as su and make the changes eg.. ulimit -r 95 and ulimit -l unlimited,i cant save the changes,i cant find any save key or button.......what am i doing wrong :oops:
marten
 
Posts: 1
Joined: Jan 19th, '14, 02:04

Re: cannot save changes in terminal

Postby doktor5000 » Jan 19th, '14, 15:58

There is no save button. ulimit is a command which does the change for your current session.
If you want to change it permanently, you have to add the value you want fo the users you want to change it for into /etc/security/limits.conf
You may also want to have a look at the man page via
Code: Select all
man limits.conf


Apart from that, what do you actually want to achieve by changing realtime scheduling priorities?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18040
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: cannot save changes in terminal

Postby wintpe » Jan 19th, '14, 20:01

its probably worth noting for all newbies

this is how linux works, and has always worked

theres no registry, that utilities write into.

its all about dozens of scripts running during start up, reading settings from config files, and setting
them for that boot (thats for the system).

then

everytime you login, as your session is started up, your personal settings files that are stored in your home directory are all read and
all the .files (dot-files that is) (or sometimes refered to as hidden files) in your home directory are read and those settings are applied to your personal session.

so if you want to change a system setting you have to start a terminal or use a tool, that asks you for roots password.
(in a terminals case you have to su - first). (su alone is OK in some cases, the - (minus) means read the new users startup files, as you change to its ID)

if you want to change a setting that is in your session, so it takes effect the next time "you" login, then you do it as yourself.
this then saves it to your personal config files in your home directory.

Its this distinction that makes linux so much more resiliant to malware.

hope that helps, as ive seen a few questions and points of view posted that seem to missunderstand this.

regards peter
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1204
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron