I know this topic has been covered in one form or another, but it hasn't been covered to handle my problem.
I was given a Sparc4 running Solaris 2.5.1
The root password is unknown. This machine has no cdrom drive and it has no floppy drive.
I tried booting into the single user mode, but... (1 Reply)
my Querry is
if i build a software on a specific linux kernel
and then try to run it on another linux kernel
....what can be the possible problems
or what errors can most probably appear while running the binary in an updated version of linux. (1 Reply)
Hi All,
I've seen people build modules against a certain kernel source (eg in /usr/src/kernels/my_source/) and some people build against the sources in /lib/modules/my_source/build/
What is the difference and are there any benefits to using the /lib/modules source?
Regards,
Brendan (0 Replies)
Ok so I have a file which contains 2 columns/fields and I have another file with 2 columns. The files look like:
file1:
1 33
5 345
18 2
45 1
78 31
file2:
1 c1d2t0
2 c1d3t0
3 c1d4t0
4 c1d4t0
5 c2d1t0
6 c2d1t0
7 c2d1t0
8 c2d1t0
9 c2d1t0
10 c2d1t0 (11 Replies)
Hello Everyone,
I am using the korn shell.
I was hoping to find a set of commands to count files in a directory.
I am using:
ls /home/name/abc* | wc -l
This command works fine when a file matches abc* (returns only the file count) , however when no file(s) are found I get... (2 Replies)
Hi, a brief introduction on the soundex python module(english sound comparison):
import soundex.py
a = "neu yorkk"
b = "new york city"
print soundex.sound_similar(a, b)
output:
1
Suppose I want to merge two files, called mergeleft.csv and mergeright.csv
Mergeleft.csv:
... (0 Replies)
I'm currently trying to write a ksh or csh script that would change the name of a file found in directories and attach to the name an incrementing three digit number.
I know how to write a script that will go:
000, 001, 002, 003, etc
The twist is I need more increments then allowed by a 3... (11 Replies)
Hello folks!
Raised a bump on my head trying to figure this one out ;)
I have an xml file which needs to be edited, removing an entire property section in the work. Here's what the target section layout looks like:
<property name="something">
{any number of lines go here}
</property>... (7 Replies)
Hi
I can do simple file renaming but this task is slightly more troublesome
Ive got a guy that gives me multiple .pdf filles in a directory named
something like
3412345.pdf
4565465.pdf
8534534.pdf
And he also gives me a html file which is tabled with which shows the filenames above... (2 Replies)
Greetings!
I have a quick question which must be deferred to those with greater skill than myself :)
In this situation, I wish to create a list of all the files on an entire partition in descending order sorted by date. I tried numerous switches for ls, and found this line to be the closest... (4 Replies)
Discussion started by: LinQ
4 Replies
LEARN ABOUT LINUX
subdomain.conf
SUBDOMAIN.CONF(5) AppArmor SUBDOMAIN.CONF(5)NAME
/etc/apparmor/subdomain.conf - configuration file for fine-tuning the behavior of the AppArmor security tool.
DESCRIPTION
The AppArmor security tool can be configured to have certain default behaviors based on configuration options set in subdomain.conf. There
are two variables that can be set in subdomain.conf: SUBDOMAIN_PATH, and SUBDOMAIN_MODULE_PANIC.
SUBDOMAIN_PATH
This variable accepts a string (path), and is by default set to '/etc/apparmor.d/' This variable defines where the AppArmor security tool
looks for its policy definitions (a.k.a. AppArmor profiles).
SUBDOMAIN_MODULE_PANIC
This variable accepts a string that is one of four values: warn, build, panic, or build-panic, and is set by default to warn.
This setting controls the behavior of the AppArmor initscript if it cannot successfully load the AppArmor kernel module on startup. The
four possible settings are:
warn
Log a failure message (the default behavior).
build
Attempt to build the AppArmor module against the currently running kernel. If the compilation is successful, the module will be loaded
and AppArmor started; if the compilation fails, a failure message is logged.
panic
Log a failure message and drop to runlevel 1 (single user).
build-panic
Attempt to build the module against the running kernel (like build) and if the compilation fails, drop to runlevel 1 (single user).
BUGS
Setting the initscript to recompile the module will fail on SUSE, as the module source is no longer installed by default. However, the
module has been included with the SUSE kernel, so no rebuilding should be necessary.
If you find any additional bugs, please report them at <http://https://bugs.launchpad.net/apparmor/+filebug>.
SEE ALSO apparmor(7), apparmor_parser(8), and <http://wiki.apparmor.net>.
AppArmor 2.7.0~beta1 2010-12-20 SUBDOMAIN.CONF(5)