10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hey guyz,
Is it possible to build user-mode linux kernel on MAC OSX?
Please I need a reply asap as I have an assignment that I need to do.
Thanks!
Adel (1 Reply)
Discussion started by: aje02
1 Replies
2. OS X (Apple)
i mean if i coded an application for Linux using System Calls and no libs, and compiled it on MAC, will it work?
thanks (6 Replies)
Discussion started by: JonhyM
6 Replies
3. OS X (Apple)
Hello,
I was wondering about my Cron Script:
HELL=/bin/tcsh
PATH=/sbin:/bin:/usr/sbin:/usr/bin
HOME=/var/log
MAILTO=jwillis
25 1 * * * root /Users/jwillis/Fbcmd\Scripts/DailyBirthday.scrmy returned message is:
Subject: Cron <jwillis@Macintosh-66> root ... (1 Reply)
Discussion started by: jwillis0720
1 Replies
4. OS X (Apple)
is there anyway of looking at, and if possible, modifying it? (2 Replies)
Discussion started by: cleansing_flame
2 Replies
5. Windows & DOS: Issues & Discussions
I'm currently looking for an emulation program that would allow me to open and run osx app.s and programs on a windows xp based system.
if not is there a unix/linux/lindows program that may do the same? (3 Replies)
Discussion started by: area51nstk
3 Replies
6. UNIX for Dummies Questions & Answers
I am a Macintosh using OS 10.2 which has Unix underpinnings. When entering console mode (the root system where unix takes over) I get the following message -
bootstrap_look_up () failed (ipc/send) invalid destination port
I always used to get a localhost# prompt (and then can use unix... (1 Reply)
Discussion started by: ngilman
1 Replies
7. UNIX Desktop Questions & Answers
I finally broke down and decided to buy a new piece of hardware. I think I made the right decision when I chose an Apple iBook - OSX is incredible! I haven't used a Mac since System7.5, and 10.2 is just blowing me away!
Best of all, it's easy to use for people who are not used to Mac, but if I... (5 Replies)
Discussion started by: LivinFree
5 Replies
8. Cybersecurity
Please help if you are familiar with Mac OSX. I downloaded OpenSSH for a newer version of SSH than what comes with OS 10.1. What a mistake! Now every time I try to make a connection to my remote server I get an message that ssh was built against version such and such and I have version such and... (2 Replies)
Discussion started by: glfisfn
2 Replies
9. UNIX for Dummies Questions & Answers
Hello, I'm like most people who post here, I'm new in UNIX. Yesterday I installed Xwindows on my OSX box just to learn as much about UNIX as I can. I been messing around with my terminal and conf files that have to do with Apache and sendmail and didn't mess anything up so I thought I was ready to... (2 Replies)
Discussion started by: Alpha_Harblo
2 Replies
10. UNIX for Dummies Questions & Answers
To anyone that has the answer:
What does UNIX have that Mac OSX doesn't. I am a programmer, and I am wondering if I could just get Mac OSX for my programming needs instead of UNIX. But my major question is what does UNIX have that Mac OSX doesn't. Thank you if you have the answer, and are willing... (2 Replies)
Discussion started by: REM
2 Replies
mac(1) User Commands mac(1)
NAME
mac - calculate message authentication codes of the input
SYNOPSIS
/usr/bin/mac -l | [-v] -a algorithm [-k keyfile] [file...]
DESCRIPTION
The mac utility calculates the message authentication code (MAC) of the given file or files or stdin using the algorithm specified.
If more than one file is given, each line of output is the MAC of a single file.
OPTIONS
The following options are supported:
-a algorithm Specifies the name of the algorithm to use during the encryption or decryption process. See USAGE, Algorithms for details.
Note: Algorithms for producing general length MACs are not supported.
-k keyfile Specifies the file containing the key value for the encryption algorithm. Each algorithm has specific key material require-
ments, as stated in the PKCS#11 specification. If -k is not specified, mac prompts for key material using get-
passphrase(3C).
For information on generating a key file, see dd(1M) or System Administration Guide: Security Services.
-l Displays the list of algorithms available on the system. This list can change depending on the configuration of the crypto-
graphic framework. The keysizes are displayed in bits.
-v Provides verbose information.
USAGE
Algorithms
The supported algorithms are displayed with the -l option. These algorithms are provided by the cryptographic framework. Each supported
algorithm is an alias to the most commonly used and least restricted version of a particular algorithm type. For example, md5_hmac is an
alias to CKM_MD5_HMAC.
These aliases are used with the -a option and are case-sensitive.
Passphrase
When the -k option is not used during encryption and decryption tasks, the user is prompted for a passphrase. The passphrase is manipulated
into a more secure key using the PBKDF2 algorithm specified in PKCS #5.
EXAMPLES
Example 1: Listing available algorithms
example$ mac -l
Algorithm Keysize: Min Max
-----------------------------------
des_mac 64 64
sha1_hmac 8 512
md5_hmac 8 512
Example 2: Getting the message authentication code for a file
example$ mac -v -k mykey -a sha1_hmac /export/foo
sha1_hmac (/export/foo) = 913ced311df10f1708d9848641ca8992f4718057
EXIT STATUS
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO
digest(1), dd(1M), getpassphrase(3C), libpkcs11(3LIB), attributes(5), pkcs11_softtoken(5)
System Administration Guide: Security Services
RSA PKCS#11 v2.11 http://www.rsasecurity.com/rsalabs/pkcs/pkcs-11
RSA PKCS#5 v2.0 http://www.rsasecurity.com/rsalabs/pkcs/pkcs-5
SunOS 5.10 23 Apr 2004 mac(1)