07-24-2013
Quote:
Originally Posted by
Corona688
The proper way to do these things is still passwordless operation via sudo or ssh keys. Please at least consider them.
I have set passwordless login between two ids on the same unix box.
I see this strange behavior.
For the first time even after exchanging keys it prompted for the password when i tried sudo.
After that i exit and tried to sudo several times and it never asked for the password.
Thinking all is fixed and good, I shutdown my system and tried to sudo after 2 hrs and I see it prompted for the password again.
Why is it prompting for the password upon sudo at random instances especially after a long break?
Last edited by mohtashims; 07-24-2013 at 06:18 AM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All, :)
I have configure openldap but when I test this its show me a massage that "Invalid Creedientials". I search for the slove at Google, Yahoo but I did not find any solution.
Plz help me. :cool: (3 Replies)
Discussion started by: Sudipta Biswas
3 Replies
2. AIX
Dears
i am going to write a shell script to do some administration jobs and automate them , but i need to access remote servers through telnet so my question is how to pass the required credentials to telnet through shell script or can i use a file and redirect the standard input to be from that... (3 Replies)
Discussion started by: TheEngineer
3 Replies
3. Shell Programming and Scripting
Hi,
I my unix we have one file that contains all the database credentials.
we are calling that file while connecting databse.
I need to hide that file....other user should not view that file.
How to do this. Please suggest me apart from permisstion(chmod) level suggestion.
Regards,... (3 Replies)
Discussion started by: rsivasan
3 Replies
4. Shell Programming and Scripting
Hi,
I am using the following syntax to connect to an FTP server and paste the file.
Based on the value in the variable $Folder, i want to connect to different folders on the same server. The credential is different to access different folders. How to get the user name and password from a... (3 Replies)
Discussion started by: ashok.k
3 Replies
5. Web Development
I have a wordpress site that authenticates against a local ldap database for users to login. On the same server and domain I have subsonic installed that also authenticates against the same ldap database. The ldap database is firewalled front the outside wall and the internal LAN.
I would like... (3 Replies)
Discussion started by: barrydocks
3 Replies
6. Shell Programming and Scripting
Is it possible to open an executable file and pass user credentials through the
perl script. If yes Please do share the CPAN module names and the way to access the executable file.
For eg. I want to open the IBM LOTUS Sametime through my perl code
and pass the user credentials like... (1 Reply)
Discussion started by: giridhar276
1 Replies
7. Shell Programming and Scripting
Experts,
I login to a 3rd party and pull some valuable information with my credentials. I pass my credentials via --post-data in wget.
Now my Account is locked. I want my wget to alert that the Account is locked. How can i achieve this.
My idea is, get the Source page html from the... (2 Replies)
Discussion started by: sathyaonnuix
2 Replies
8. Shell Programming and Scripting
If I run the below code... it will login into the router and then changes to privilege mode and then stores the running configuration information to an array.
In this program, I have included the username and password .
In case the username and password is wrong.. it will re login for 2 times... (0 Replies)
Discussion started by: scriptscript
0 Replies
9. AIX
How could I pass credentials to the automountd daemon through it's map files?
Tried credentials=/some/file.txt - Didn't work.
Tried SHARE.domain.com/user/pass/SHARE_NAME in map file - Didn't work
Tried user=USER,pass=PASS - Didn't work.
I can see the mounts created but when I access them... (4 Replies)
Discussion started by: Devyn
4 Replies
10. Shell Programming and Scripting
Hi Everyone,
I am new to shell scripting and I have a requirement to fire a sql statement to Oracle database and create a out file in Unix server.
This will be plugged in to Autosys as a batch job.
I have the database credentials saved in a configuration file in the below format.
... (7 Replies)
Discussion started by: Pradeep_Raj
7 Replies
LEARN ABOUT OPENSOLARIS
kpasswd
kpasswd(1) User Commands kpasswd(1)
NAME
kpasswd - change a user's Kerberos password
SYNOPSIS
/usr/bin/kpasswd [principal]
DESCRIPTION
The kpasswd command is used to change a Kerberos principal's password. kpasswd prompts for the current Kerberos password, which is used to
obtain a changepw ticket from the KDC for the user's Kerberos realm. If kpasswd successfully obtains the changepw ticket, the user is
prompted twice for the new password, and the password is changed.
If the principal is governed by a policy that specifies the length and/or number of character classes required in the new password, the new
password must conform to the policy. (The five character classes are lower case, upper case, numbers, punctuation, and all other charac-
ters.)
OPERANDS
The following operand is supported:
principal Change the password for the Kerberos principal principal. Otherwise, the principal is derived from the identity of the user
invoking the kpasswd command.
FILES
/tmp/ovsec_adm.xxxxxx Temporary credentials cache for the lifetime of the password changing operation. (xxxxxx is a random string.)
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWkrbu |
+-----------------------------+-----------------------------+
|CSI |Enabled |
+-----------------------------+-----------------------------+
SEE ALSO
kerberos(5)
BUGS
If kpasswd is suspended, the changepw tickets may not be destroyed.
SunOS 5.11 30 Jul 2001 kpasswd(1)