can someone explain the meaning of the following shell commands:
1. who / wc -l
2. who / sort > user_names
3. cat students > new_students
4. current_day='date / cut -cl-3'
i would also appreciated if you could tell me some things about the umask
1. what is a good umask value and why?
2.... (2 Replies)
What is the basic syntax for a script that says
do you want to do this?
y - execute this
n - end
not y or n - end and print this
for example if I want to run this:
"Do you want to start this process?"
answer
if y,Y, or yes
then
run the following script (do I put the script with... (10 Replies)
OK...I'm using the latest version of Fedora 10.
My network connection was working fine, and I had several network LAN shares on my desktop. Then I rebooted the system without dismounting those shares first. ooops. <:(
...When the system came back up, my network connection was gone. All... (2 Replies)
Hi all,
OS: fedora release 10
when i try to restart network service, ending up with following errors. There are two interfaces eth0 and eth1
bringing up interface eth0 rtnetlink answers file exists
error adding <IP Address here> to eth0
bringing up interface eth0 rtnetlink answers... (2 Replies)
hello guys!! need 1 favour from u all..
Can u jst tell me the answers for these ques??
1. ls - l _____ : command to return all files that end with single digit and those with TXT extension
2. ls -l report* _______ : command to return all files that start with the word RPT except those with LOG... (1 Reply)
Hello All,
While I am studying on RTNETLINK, I understand that the kernel will send RTM_ADDLINK or RTM_DELLINK if interface is added/removed at kernel space. However, I have a question regarding to the RTNETLINK message if adding or removing ethernet to/from bridge? Since adding or removing... (0 Replies)
Hi,
I have wrote a python program to sum the numbers in a list.However its giving answer one.
Please advise.
MyList =
Number = int(input("Please enter number:"))
for i in range(1, Number + 1):
value = int(input("Enter Numbers %d:" %i))
MyList.append(value)
total =... (3 Replies)
Discussion started by: nag_sathi
3 Replies
LEARN ABOUT SUNOS
wanboot_keygen
wanboot_keygen(1M) System Administration Commands wanboot_keygen(1M)NAME
wanboot_keygen - create and display client and server keys for WAN booting
SYNOPSIS
/usr/lib/inet/wanboot/keygen -c -o net=a.b.c.d ,cid=client_ID,type=3des
/usr/lib/inet/wanboot/keygen -c -o net=a.b.c.d ,cid=client_ID,type=aes
/usr/lib/inet/wanboot/keygen -m
/usr/lib/inet/wanboot/keygen -c -o net=a.b.c.d ,cid=client_ID,type=sha1
/usr/lib/inet/wanboot/keygen -d -m
/usr/lib/inet/wanboot/keygen -c -o net=a.b.c.d ,cid=client_ID,type=keytype
DESCRIPTION
The keygen utility has three purposes:
o Using the -c flag, to generate and store per-client 3DES/AES encryption keys, avoiding any DES weak keys.
o Using the -m flag, to generate and store a "master" HMAC SHA-1 key for WAN install, and to derive from the master key per-client HMAC
SHA-1 hashing keys, in a manner described in RFC 3118, Appendix A.
o Using the -d flag along with either the -c or -m flag to indicate the key repository, to display a key of type specified by keytype,
which must be one of 3des, aes, or sha1.
The net and cid arguments are used to identify a specific client. Both arguments are optional. If the cid option is not provided, the key
being created or displayed will have a per-network scope. If the net option is not provided, then the key will have a global scope. Default
net and code values are used to derive an HMAC SHA-1 key if the values are not provided by the user.
OPTIONS
The following options are supported:
-c
Generate and store per-client 3DES/AES encryption keys, avoiding any DES weak keys. Also generates and stores per-client HMAC SHA-1
keys. Used in conjunction with -o.
-d
Display a key of type specified by keytype, which must be one of 3des, aes, or sha1. Use -d with -m or with -c and -o.
-m
Generate and store a "master" HMAC SHA-1 key for WAN install.
-o
Specifies the WANboot client and/or keytype.
EXAMPLES
Example 1: Generate a Master HMAC SHA-1 Key
# keygen -m
Example 2: Generate and Then Display a Client-Specific Master HMAC SHA-1 Key
# keygen -c -o net=172.16.174.0,cid=010003BA0E6A36,type=sha1
# keygen -d -c -o net=172.16.174.0,cid=010003BA0E6A36,type=sha1
Example 3: Generate and Display a 3DES Key with a Per-Network Scope
# keygen -c -o net=172.16.174.0,type=3des
# keygen -d -o net=172.16.174.0,type=3des
EXIT STATUS
0
Successful operation.
>0
An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWwbsup |
+-----------------------------+-----------------------------+
|Interface Stability |Obsolete |
+-----------------------------+-----------------------------+
SEE ALSO attributes(5)SunOS 5.10 18 Apr 2003 wanboot_keygen(1M)