05-29-2013
Thank you so much
it works with the user name
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
The following ksh script is trying to get a file's cksum then, scp it over to a remote machine - get the cksum there and then compare the two cksums to make sure they match. I am having problems setting a variable on the remote host where it can be read locally. Is this even possible - reading a... (1 Reply)
Discussion started by: berrean
1 Replies
2. BSD
I can't get ssh ans scp to work between to host on my network. I am prompted for the password and it isn't accepting the password and I know the password is correct because I am using the root password. What do I need to do to get ssh working between the two host and scp. I can putty into the... (2 Replies)
Discussion started by: rbizzell
2 Replies
3. AIX
I'm using scp to copy files to another company via our 4.3.3 server. I am having transfer problems right at the transfer point in scp. Below are 2 debug outputs showing the bottleneck. The lower level debug preceeds the higher level debug output. It just seems to stop and refuses to transfer... (0 Replies)
Discussion started by: oldogbert
0 Replies
4. Shell Programming and Scripting
Hi all
Iam using ssh and trying to change to a different user but im not able to do it.
--------
Script.sh
ssh user@hostname
sudo rootsh
whoami
--------
--------
Script2.sh
ssh user@hostname
su - username password
whoami
---------
When i run the Script.sh it is connecting to... (4 Replies)
Discussion started by: coolkid
4 Replies
5. Virtualization and Cloud Computing
Hi
I have downloaded vmware server 1.0.10 and ubuntu 9.10. Installed
vmware server on my windows xp and created the disk space for Ubuntu.
Now when i am running the virtual machine using the above downloaded
iso image, I get the installation window. I selected 'Install Ubuntu'
option and... (2 Replies)
Discussion started by: kushal154
2 Replies
6. UNIX for Advanced & Expert Users
Hi there,
I'm working with two linux servers and if I use ssh to connect from 1 to 2 everything works fine ( ..as usual:rolleyes:), while if I try to connect via ssh or to copy files through scp (as I usually do...) from 2 to 1, after the password I get this message:
Connection closed by... (6 Replies)
Discussion started by: Giordano Bruno
6 Replies
7. Linux
Hi,
I'm working on getting more acquainted with VMWare and the SUSE SLES OS, so I've downloaded and created a guest running SLES 11 SP1. This works great, no problems. However, there's some funny-ness (is that a word?) when I'm attempting/testing to SSH from outside my local LAN into the guest.... (3 Replies)
Discussion started by: brightstorm
3 Replies
8. Red Hat
Hello i have CentOS installed on vmware , few days ago every thing was working fine. today every time im connect with putty to the CentOs server after few minutes it disconnect me , how can i find what is the reason ? (5 Replies)
Discussion started by: umen
5 Replies
9. Emergency UNIX and Linux Support
i have W7 installed on my machine. And i also have installed Ubuntu though vmware. Now i want to know that through winscp can i connect to ubuntu from windows 7.
plz help me
thanks in advance
Arpit (4 Replies)
Discussion started by: thearpit
4 Replies
10. Virtualization and Cloud Computing
Hi Friends,
I have windows7 in my system and I installed vmware having ubuntu OS, I am able to work in both independently.
But I want to share some text file from WINDOWS7 to the vmware ubuntu,
I tried and able to ping vmware(ubuntu) ipaddress from windows7 and vice-versa.
But when... (0 Replies)
Discussion started by: forroughuse
0 Replies
LEARN ABOUT MOJAVE
sc_auth
sc_auth(8) BSD System Manager's Manual sc_auth(8)
NAME
sc_auth -- SmartCard authorization setup script
SYNOPSIS
sc_auth pair [-v] -u user -h hash
sc_auth unpair [-v] [-u user] [-h hash]
sc_auth pairing_ui [-v] [-f] [-s enable|disable|status]
sc_auth identities
sc_auth list [-v] [-u user] [-d domain]
sc_auth changepin [-t tokenid] [-u]
sc_auth enable_for_login -c class-id
SYNOPSIS - legacy
sc_auth accept [-v] [-u user] [-d domain] [-k keyname]
sc_auth accept [-v] [-u user] [-d domain] -h hash
sc_auth remove [-v] [-u user] [-d domain]
sc_auth hash [-k keyname]
DESCRIPTION
sc_auth configures a local user account to permit authentication using a supported SmartCard. Authentication is via asymmetric key (also
known as public-key) encryption. sc_auth works with signing keys, but not encryption keys.
sc_auth can perform the following actions:
pair Associate a user with a public key. Because user's keychain will be modified to be unlockable by a key, SmartCard with that key must
be present in the reader. The key to use has to be specified by its hash.
unpair Remove association with a user and keychain. If no specific hash is provided, all associations with a user are removed.
pairing_ui
Enable, disable and force to display pairing dialog when card with unpaired identities is inserted
identities
List all identities on all SmartCards and display appropriate associations with users (for associated keys) or key names (for unas-
sociated keys).
list List all public keys associated with a user.
changepin
Change or unblock SmartCard PIN. This command works only for Personal Identity Verification (PIV) SmartCards. With -u argument, PIN
can be unblocked using PUK and without the -u argument, PIN can be changed. Optional -t argument allows specifying tokenID.
enable_for_login
Enable the app extension for login and make the token available to the system for authentication.
DESCRIPTION - legacy
sc_auth can perform the following legacy actions:
accept Associate a user with a public key on a card. The key to use can be specified either by its name or its hash.
remove Remove all public keys associated with a user.
hash Print the hashes for all keys on all inserted cards.
OPTIONS
-u user Specifies the user whose account is to be modified
-d domain
Specifies the directory domain containing the user account
-k keyname
Specifies a public key by its name
-h hash Specifies a public key by its hash
-v Verbose mode
-f Force to display pairing dialog
-t tokenid
Specifies a token by tokenID
-c class-id
Specifies a token by 'com.apple.ctk.class-id' from Info.plist
NOTES
sc_auth is a shell script. It is intended to be modified by administrators to suit their local environments.
sc_auth is only known to work with a local directory. Consult the script's source for some limited guidance to using remote directories.
SEE ALSO
SmartCardServices(7), SmartCardServices-legacy(7), pam_smartcard(8)
MacOSX December 11, 2006 MacOSX