07-04-2013
How to create PATH for a application?
hi
every one
In linux, how to create a PATH for a application ?
i searched, but no positive response
any one like me got stuck with this problem?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello all,
I need to create a variable that contains a path to a program. I'd like to reference that variable later in the script to execute the program. Does anyone have any ideas how I can accomplish this?
Thanks,
Mark :) (2 Replies)
Discussion started by: mmignot
2 Replies
2. Solaris
dears
iam new in solaris i install solaris on my pc
can you help me in steps how can i create application using apache on solaris (3 Replies)
Discussion started by: murad.jaber
3 Replies
3. UNIX and Linux Applications
Does someone knows an application to create/edit *.chm files? Any suggestion will be much appreciated! (2 Replies)
Discussion started by: agasamapetilon
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
Iam new to UNIX...My requirement is to create 3 dir as an hierarchy under /var/opt/temip.The output should be /var/opt/temip/GP_Int/GPTTS/AUTO.
I have tried the following script...But only GP_int folder is getting created and not other folders...Can someone help???
#!/usr/bin/ksh
#script... (1 Reply)
Discussion started by: Llb
1 Replies
5. Programming
Hi,
I've created a simple application that is supposed to fill up a file with messages up
to the size I pass as parameter.
The problem is that once the file reaches the 2GB size, it stops growing.
The flow of the application, for what is worth, is as follows:
while ( bytes written <... (7 Replies)
Discussion started by: emitrax
7 Replies
6. Linux
Hi All,
I got this problem with my var logs, it got failed login as admin because it doesn't exist every 15 minutes and everyday.
Do you know some applications that try to create an application id as "admin"?
The problem is that this is a test server, so lots of applications installed and... (2 Replies)
Discussion started by: itik
2 Replies
7. Shell Programming and Scripting
I am submitting a concurrent program (of HOST tyme) from Oracle apps screen,
The MAIN shell program submits another program, (child) which is also a Shell program. The child writes data to log file. Now the main program, read the log and do some calculations and sends the data to user through... (1 Reply)
Discussion started by: Pradeep Garine
1 Replies
8. Programming
Hi I am new to QT.I am running Qt 4.7 on Fedora 9.My Application crashes with the the following statements. on execution of
return app.exec();
The inferior stopped because it received a signal from the Operating System.
Signal name : SIGSEGV
Signal meaning :Segmentation fault:wall:
... (2 Replies)
Discussion started by: sruthihsr
2 Replies
9. Shell Programming and Scripting
Just a little backgroud, I have a library of mp3 files in the following structure: /mp3/artist/album/track.mp3
Also contained in each album directory is a cover.jpg which contains the cover art file for that particular album.
I want to add the cover.jpg to the mp3 tag and have been using... (8 Replies)
Discussion started by: barrydocks
8 Replies
10. Ubuntu
Hi Experts....
I am using Ubuntu 12.04 LTS 32-Bit edition on my laptop
I just reinstalled OS for some reason and installed many application packages using sudo as well as by downloading, now I would like to create recovery disk so that if I reinstall OS once again, I should be able to install... (7 Replies)
Discussion started by: Akshay Hegde
7 Replies
LEARN ABOUT DEBIAN
aa-easyprof
AA-EASYPROF(8) AppArmor AA-EASYPROF(8)
NAME
aa-easyprof - AppArmor profile generation made easy.
SYNOPSIS
aa-easyprof [option] <path to binary>
DESCRIPTION
aa-easyprof provides an easy to use interface for AppArmor policy generation. aa-easyprof supports the use of templates and policy groups
to quickly profile an application. Please note that while this tool can help with policy generation, its utility is dependent on the
quality of the templates, policy groups and abstractions used. Also, this tool may create policy which is less restricted than creating
policy by hand or with aa-genprof and aa-logprof.
OPTIONS
aa-easyprof accepts the following arguments:
-t TEMPLATE, --template=TEMPLATE
Specify which template to use. May specify either a system template from /usr/share/apparmor/easyprof/templates or a filename for the
template to use. If not specified, use /usr/share/apparmor/easyprof/templates/default.
-p POLICYGROUPS, --policy-groups=POLICYGROUPS
Specify POLICY as a comma-separated list of policy groups. See --list-templates for supported policy groups. The available policy
groups are in /usr/share/apparmor/easyprof/policy. Policy groups are simply groupings of AppArmor rules or policies. They are similar
to AppArmor abstractions, but usually encompass more policy rules.
-a ABSTRACTIONS, --abstractions=ABSTRACTIONS
Specify ABSTRACTIONS as a comma-separated list of AppArmor abstractions. It is usually recommended you use policy groups instead, but
this is provided as a convenience. AppArmor abstractions are located in /etc/apparmor.d/abstractions. See apparmor.d(5) for details.
-r PATH, --read-path=PATH
Specify a PATH to allow owner reads. May be specified multiple times. If the PATH ends in a '/', then PATH is treated as a directory
and reads are allowed to all files under this directory. Can optionally use '/*' at the end of the PATH to only allow reads to files
directly in PATH.
-w PATH, --write-dir=PATH
Like --read-path but also allow owner writes in additions to reads.
-n NAME, --name=NAME
Specify NAME of policy. If not specified, NAME is set to the name of the binary. The NAME of the policy is often used as part of the
path in the various templates.
--template-var="@{VAR}=VALUE"
Set VAR to VALUE in the resulting policy. This typically only makes sense if the specified template uses this value. May be specified
multiple times.
--list-templates
List available templates.
--show-template=TEMPLATE
Display template specified with --template.
--templates-dir=PATH
Use PATH instead of system templates directory.
--list-policy-groups
List available policy groups.
--show-policy-group
Display policy groups specified with --policy.
--policy-groups-dir=PATH
Use PATH instead of system policy-groups directory.
--author
Specify author of the policy.
--copyright
Specify copyright of the policy.
--comment
Specify comment for the policy.
EXAMPLE
Example usage for a program named 'foo' which is installed in /opt/foo:
$ aa-easyprof --template=user-application --template-var="@{APPNAME}=foo" --policy-groups=opt-application,user-application
/opt/foo/bin/FooApp
BUGS
If you find any additional bugs, please report them to Launchpad at <https://bugs.launchpad.net/apparmor/+filebug>.
SEE ALSO
apparmor(7) apparmor.d(5)
AppArmor 2.7.103 2012-07-16 AA-EASYPROF(8)