Audacity is for editing audio, not recording...
In any event, your question is rather vague. If you only need to record the simplest of samples, krec should do the trick. If you need multi-track recording studio type software then Ardour is the ticket. There is also a whole host of projects that fall in the middle:
http://www.google.com/linux?num=30&h...re&btnG=Search
PS, this has what to do with security???