11-01-2010
Simulation of ATM interface
Hi guys,
I recently discovered this problem and any help would be great.
1) Create a file in vi named Accounts_File with the following data:
The user, the name, the pin number, current balance and transaction history.
There are 3 users who need to be inputted with all their PIN, etc shown. In vi, how do I assign a name to a pin and transaction history, etc?
2) The program should great users with an initial screen prompting the user to log in.
3) When a user (one on the 3 in vi file) enters a valid username, he will be prompted to enter a PIN. If the PIN is recognised, the user will be allowed to login and the programme should navigate to the Accounts Options Menu (AOM) screen.
4) The AOM will display:
display balance, withdraw funds, deposit funds, mini stmt, logout.
5) Display balance displays the currently logged in user's account balance.
6) Withdraw funds will promp the user to select an amount to withdraw:
£10, £20, 50, other.
The number is then subtracted from the user's account balance. If no funds, a message is displayed.
7) Deposit funds - will be added to the account balance.
8) Logout - programme should give them option to logout.
Any ideas how to tackle this? would be awesome for some code!
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
We just recently upgraded our T1 wan link to a 10Mbit ATM link.
Windows pc's seem fine and get great speed, however we have 2 Sco unix box's that seem really slow at FTPing now.
both Sco box's are
SCO OpenServer Enterprise System (ver 5.0.5m)
compaq ML530's
I'm not really sure what to... (4 Replies)
Discussion started by: whegra
4 Replies
2. Shell Programming and Scripting
Hi Everyone,
I have an ftp script which pulls files from ATM in a daily basis. But for the last two days i found that the script is throwing some error like
********************************************
cat: 0652-050 Cannot open EJpullErr_20090411.log.
cat: 0652-050 Cannot open... (5 Replies)
Discussion started by: Renjesh
5 Replies
3. IP Networking
Hello,
This is my first time here so I hope I can describe everything. Due to the nature of what we're doing, I'm only going to describe what I need.
We need to convert TCP/IP to ATM. I'm not talking about encapsulizing it by wrapping ATM around it, rather pure conversion from IP to ATM.... (0 Replies)
Discussion started by: sohel2009
0 Replies
4. Homework & Coursework Questions
Hello everyone!I would appreciate any help you could give me,I have to make a program of an atm machine using client server sockets and semaphores.I know how to construct an ATM in c++ but don't know anything about unix c.The problem is that Don't know what to do and how to link the two programs... (0 Replies)
Discussion started by: tamanas
0 Replies
5. Solaris
Dear all,
I am a newbie in solaris and I need your advice.
I have a Solaris version 5.9 installed on Sunfire V240.
I am able to ssh the machine from putty remotely.
My problem is that I cannot see the display from KVM switch I have connected to it. I need also to be able to see the GUI... (2 Replies)
Discussion started by: mbouster
2 Replies
6. SCO
Hi all
I have installed a demo version of SCO OpenServer 5.0.2, I finally found it is Desktop Interface, I would like to know how to change its interface to dos based interface?
If you have any ideas, please tell me then. Thank you (2 Replies)
Discussion started by: TinhNhi
2 Replies
7. UNIX for Dummies Questions & Answers
I need to create a simple ATM (Cash machine simulation in unix) which shows a welcome screen, then a login screen to enter 3 users details. help please on the coding
The users details need to be in a txt file: the details are: (PIN No, First name last name, Account number, Balance, Histrosy)
... (1 Reply)
Discussion started by: oobla01
1 Replies
8. UNIX for Dummies Questions & Answers
Hi guys,
I recently discovered this problem and any help would be great.
1) Create a file in vi named Accounts_File with the following data:
The user, the name, the pin number, current balance and transaction history.
There are 3 users who need to be inputted with all their PIN, etc... (1 Reply)
Discussion started by: Jimmy_c
1 Replies
9. Solaris
More old kit .....
We have a bunch of old Sun kit E4500, E450 etc that are currently running on ATM nic's and need to be put on the the onboard Ethernet ports....
Anyone know how to do this without downtime?
It'd be better if I can keep the original Ip Addresses though it may be possible to... (2 Replies)
Discussion started by: Martincorneuk
2 Replies
LEARN ABOUT CENTOS
pkcs11-tool
PKCS11-TOOL(1) OpenSC Tools PKCS11-TOOL(1)
NAME
pkcs11-tool - utility for managing and using PKCS #11 security tokens
SYNOPSIS
pkcs11-tool [OPTIONS]
DESCRIPTION
The pkcs11-tool utility is used to manage the data objects on smart cards and similar PKCS #11 security tokens. Users can list and read
PINs, keys and certificates stored on the token. User PIN authentication is performed for those operations that require it.
OPTIONS
--attr-from path
Extract information from path (DER-encoded certificate file) and create the corresponding attributes when writing an object to the
token. Example: the certificate subject name is used to create the CKA_SUBJECT attribute.
--change-pin, -c
Change the user PIN on the token
--hash, -h
Hash some data.
--id id, -d id
Specify the id of the object to operate on.
--init-pin
Initializes the user PIN. This option differs from --change-pin in that it sets the user PIN for the first time. Once set, the user PIN
can be changed using --change-pin.
--init-token
Initialize a token: set the token label as well as a Security Officer PIN (the label must be specified using --label).
--input-file path, -i path
Specify the path to a file for input.
--keypairgen, -k
Generate a new key pair (public and private pair.)
--label name, -a name
Specify the name of the object to operate on (or the token label when --init-token is used).
--list-mechanisms, -M
Display a list of mechanisms supported by the token.
--list-objects, -O
Display a list of objects.
--list-slots, -L
Display a list of available slots on the token.
--login, -l
Authenticate to the token before performing other operations. This option is not needed if a PIN is provided on the command line.
--mechanism mechanism, -m mechanism
Use the specified mechanism for token operations. See -M for a list of mechanisms supported by your token.
--module mod
Specify a PKCS#11 module (or library) to load.
--moz-cert path, -z path
Test a Mozilla-like keypair generation and certificate request. Specify the path to the certificate file.
--output-file path, -o path
Specify the path to a file for output.
--pin pin, -p pin
Use the given pin for token operations. WARNING: Be careful using this option as other users may be able to read the command line from
the system or if it is embedded in a script.
This option will also set the --login option.
--set-id id, -e id
Set the CKA_ID of the object.
--show-info, -I
Display general token information.
--sign, -s
Sign some data.
--slot id
Specify the id of the slot to use.
--slot-description description
Specify the description of the slot to use.
--slot-index index
Specify the index of the slot to use.
--token-label label
Specify the label of token. Will be used the first slot, that has the inserted token with this label.
--so-pin pin
Use the given pin as the Security Officer PIN for some token operations (token initialization, user PIN initialization, etc). The same
warning as --pin also applies here.
--test, -t
Perform some tests on the token. This option is most useful when used with either --login or --pin.
--type type, -y type
Specify the type of object to operate on. Examples are cert, privkey and pubkey.
--verbose, -v
Cause pkcs11-tool to be more verbose.
NB! This does not affect OpenSC debugging level! To set OpenSC PKCS#11 module into debug mode, set the OPENSC_DEBUG environment
variable to a non-zero number.
--write-object id, -w path
Write a key or certificate object to the token. path points to the DER-encoded certificate or key file.
opensc 06/17/2014 PKCS11-TOOL(1)