Made a sysback tape backup on our 595 running 4.1.5 but when trying to do a restore discovered that rmt0 not in bootlist(s).
Tried to alter both the normal and service bootlists but system wont respond to F7(commit).
Erased the service boolist then tried alter again, same result. Now have... (2 Replies)
Hi
I used this command:
mplayer http://host/axis-cgi/mjpg/video.cgi -user root -passwd root \
-cache 1024 -fps 25.0 -nosound -vc ffh264 \
-demuxer 3 -dumpstream -dumpfile output.avi It's ok but...
Video Playing is very fast! Why? Is it a synch problem?
What parameter I have to use for... (1 Reply)
Hi ,
I have data in file like below.
status ----------- ------ 2287 C 1502 E 19
can anyone pls help me how can i get it modified as below
status 2287|C|1502 E|19
can someone pls help.
Thanks. (2 Replies)
Hello everyone,
I am looking to basically creating md5sum files for all iso files in a directory and archive the resulting md5 files into a single archive in that very same directory.
I worked out a clumsy solution such as:
#find files for which md5sum are to be created and store the... (1 Reply)
How can I adjust a specific field in a line that the user specifies...
In other words,
I have a file that contains several lines containing several fields separated by a comma.
(name),(address),(ph. number)
I want to ask the user which record he wants to adjust based on the name.
... (3 Replies)
Thank u so much .Its working fine as expected.
---------- Post updated at 03:41 PM ---------- Previous update was at 01:46 PM ----------
I need one more help.
I have another file(fixed length) that will get negative value (ex:-00000000003000) in postion (98 - 112) then i have to... (6 Replies)
I have about 1500 rows (encoded b64(b64(md5($pass))) algorythm) in a file.
I would like reverse the b64 into md5 hash format.
How could I do that from command line? So I need only the correct md5 hash formats.
These row format:
4G5qc2WQzGES6QkWAUgl5w
P9tKxonBOg3ymr8vOBLnDA... (1 Reply)
Discussion started by: freeroute
1 Replies
LEARN ABOUT OPENSOLARIS
setlabel
setlabel(1) User Commands setlabel(1)NAME
setlabel - move files to zone with corresponding sensitivity label
SYNOPSIS
/usr/bin/setlabel newlabel filename...
DESCRIPTION
setlabel moves files into the zone whose label corresponds to newlabel. The old file pathname is adjusted so that it is relative to the
root pathname of the new zone. If the old pathname for a file's parent directory does not exist as a directory in the new zone, the file is
not moved. Once moved, the file might no longer be accessible in the current zone.
Unless newlabel and filename have been specified, no labels are set.
Labels are defined by the security administrator at your site. The system always displays labels in uppercase. Users can enter labels in
any combination of uppercase and lowercase. Incremental changes to labels are supported.
Refer to setflabel(3TSOL) for a complete description of the conditions that are required to satisfy this command, and the privileges that
are needed to execute this command.
EXIT STATUS
setlabel exits with one of the following values:
0 Successful completion.
1 Usage error.
2 Error in getting, setting or translating the label.
USAGE
On the command line, enclose the label in double quotes unless the label is only one word. Without quotes, a second word or letter sepa-
rated by a space is interpreted as a second argument.
% setlabel SECRET somefile
% setlabel "TOP SECRET" somefile
Use any combination of upper and lowercase letters. You can separate items in a label with blanks, tabs, commas or slashes (/). Do not use
any other punctuation.
% setlabel "ts a b" somefile
% setlabel "ts,a,b" somefile
% setlabel "ts/a b" somefile
% setlabel " TOP SECRET A B " somefile
EXAMPLES
Example 1 Set a Label.
To set somefile's label to SECRET A:
example% setlabel "Secret a" somefile
Example 2 Turn On a Compartment.
Plus and minus signs can be used to modify an existing label. A plus sign turns on the specified compartment for somefile's label.
example% setlabel +b somefile
Example 3 Turn Off a Compartment.
A minus sign turns off the compartments that are associated with a classification. To turn off compartment A in somefile's label:
example% setlabel -A somefile
If an incremental change is being made to an existing label and the first character of the label is a hyphen (-), a preceding double-hyphen
(--) is required.
To turn off compartment -A in somefile's label:
example% setlabel -- -A somefile
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWtsu |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
SEE ALSO setflabel(3TSOL), label_encodings(4), attributes(5)NOTES
The functionality described on this manual page is available only if the system is configured with Trusted Extensions.
This implementation of setting a label is meaningful for the Defense Intelligence Agency (DIA) Mandatory Access Control (MAC) policy. For
more information, see label_encodings(4).
SunOS 5.11 20 Jul 2007 setlabel(1)