07-26-2017
Quote:
Originally Posted by
halfboy
So as I understand, the way is to create usb device driver that will send information to my laptop that the card has been near to RFID reader and after that some rule in udev will process my login process ?
Yes, this should - by and large - be the way.
I hope this helps.
bakunin
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Ok when I log in to my terminal I land in a dir. How can I change the dir that I start from when I login?
Thanks for the help, sure it is a no brainer for you guys
cd (5 Replies)
Discussion started by: lorcet222
5 Replies
2. UNIX for Dummies Questions & Answers
I want Red Hat Linux 7.2 prompt for new password at next login time.
How can I do this?????
passwd -f don't work for linux...... (4 Replies)
Discussion started by: rrivas
4 Replies
3. UNIX for Dummies Questions & Answers
If I want to change a Solaris 8 login screen to add a Company name what do I need to do ?
Current login prompt
SunOS 5.8
login:
... (2 Replies)
Discussion started by: miredale
2 Replies
4. AIX
Hi,
I need to change some users login name in AIX. With solaris i donīt had problems, i have used "usermod". But in AIX the usermod command donīt have the same behavior. Can someone give me a tip on how to perform these changes?
Thanks in advance. (9 Replies)
Discussion started by: spacewalker
9 Replies
5. UNIX for Dummies Questions & Answers
I want to change login failure message, "login incorrect"
deny user login for user id tom
sudo passwd -l tom
type username and type password on login prompt
and then it will display login failure message "login incorrect"
console
############
login: tom
password:
login incorrect... (2 Replies)
Discussion started by: lifegeek
2 Replies
6. Post Here to Contact Site Administrators and Moderators
Hello,
How can i change my login ID? My login ID is younus_syed.
Thanks & Regards
Younus Syed (10 Replies)
Discussion started by: younus_syed
10 Replies
7. Post Here to Contact Site Administrators and Moderators
Hi,
Can I change my login id having my current account alive?
I found one thread related to this which shows that it is possible.
I also agree that this is not done in normal terms.
Still, can I request for it?
I really dont want to lose my current account and my post count.
would... (1 Reply)
Discussion started by: clx
1 Replies
8. Shell Programming and Scripting
Was wondering if any had a script to change the last login field within the /etc/shadow? Need to it run against machines to "reset" the last login so local accounts will not expire if account isn't access within the mandatory setting we are force to implement.
Thanks!!!! (5 Replies)
Discussion started by: Luv_STL
5 Replies
9. Shell Programming and Scripting
Hi,
I have a script called from php, which executes the following code:
basename $arxivo .doc > nombre
nom=`cat nombre`
antiword -t $arxivo > $nom.txt
rm nombre
The problem is that I do not antiword conversion. I guess the problem must be that the user does not have permissions... (2 Replies)
Discussion started by: uri_crack
2 Replies
10. Solaris
Hi there,
Is there a way to ask the solaris user to change passwordo n the first login. I am looking at how to do this for every single new user. (5 Replies)
Discussion started by: alvinoo
5 Replies
LEARN ABOUT CENTOS
piv-tool
PIV-TOOL(1) OpenSC Tools PIV-TOOL(1)
NAME
piv-tool - smart card utility for HSPD-12 PIV cards
SYNOPSIS
piv-tool [OPTIONS]
The piv-tool utility can be used from the command line to perform miscellaneous smart card operations on a HSPD-12 PIV smart card as
defined in NIST 800-73-3. It is intened for use with test cards only. It can be used to load objects, and generate key pairs, as well as
send arbitrary APDU commands to a card after having authenticated to the card using the card key provided by the card vendor.
OPTIONS
--serial
Print the card serial number derived from the CHUID object, if any. Output is in hex byte format.
--name, -n
Print the name of the inserted card (driver)
--admin argument, -A argument
Authenticate to the card using a 2DES or 3DES key. The argument of the form
{A|M}:ref:alg
is required, were A uses "EXTERNAL AUTHENTICATION" and M uses "MUTUAL AUTHENTICATION". ref is normally 9B, and alg is 03 for 3DES. The
key is provided by the card vendor, and the environment variable PIV_EXT_AUTH_KEY must point to a text file containing the key in the
format: XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX:XX
--genkey argument, -G argument
Generate a key pair on the card and output the public key. The argument of th form
ref:alg
is required, where ref is 9A, 9C, 9D or 9E and alg is 06, 07, 11 or 14 for RSA 1024, RSA 2048, ECC 256 or ECC 384 respectively.
--object ContainerID, -O ContainerID
Load an object on to the card. The ContainerID is as defined in NIST 800-73-n without leading 0x. Example: CHUID object is 3000
--cert ref, -s ref
Load a certificate on to the card. ref is 9A, 9C, 9D or 9E
--compresscert ref, -Z ref
Load a certificate that has been gziped on to the card. ref is 9A, 9C, 9D or 9E
--out file, -o file
Output file for any operation that produces output.
--in file, -i file
Input file for any operation that requires an input file.
--key-slots-discovery file
Print properties of the key slots. Needs 'admin' authentication.
--send-apdu apdu, -s apdu
Sends an arbitrary APDU to the card in the format AA:BB:CC:DD:EE:FF.... This option may be repeated.
--reader num, -r num
Use the given reader number. The default is 0, the first reader in the system.
--card-driver driver, -c driver
Use the given card driver. The default is auto-detected.
--wait, -w
Wait for a card to be inserted
--verbose, -v
Causes piv-tool to be more verbose. Specify this flag several times to enable debug output in the opensc library.
SEE ALSO
opensc-tool(1)
opensc 06/17/2014 PIV-TOOL(1)