Sponsored Content
Operating Systems Linux Red Hat Trouble logging in with username and password Post 302385944 by TonyFullerMalv on Sunday 10th of January 2010 07:44:02 PM
Old 01-10-2010
Some ideas:
Do your local and LDAP accounts have the same username? (Not a good idea from a fault finding point of view).
If the usernames are the same do you set the passwords to be the same?
In what order are files and ldap in /etc/nsswitch.conf file's passwd line and is it the same on your other machines?
Are the settings in pam.conf and ldap.conf the same on this machine as the other ones?
Is your account set to use an allowed shell as defined in /etc/shells?

I agree it is odd when others can log on okay?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

username password in script

Can we write a script to telnet to a unix server from unix with the username and password hardcoded in the script?? something like ssh a@b -p password ??? (5 Replies)
Discussion started by: roshanjain2
5 Replies

2. UNIX for Dummies Questions & Answers

FTP Download username and password

I am trying to download from ftp server (rsync and postfix). But every time I connect to the ftp server, it prompts for USER and PASS but I don't know which username and and password to use. And I am using command based UNIX OS. (2 Replies)
Discussion started by: kumarrana
2 Replies

3. Post Here to Contact Site Administrators and Moderators

Having a bit of trouble logging in.

It allowed me on, to change my password, but when I log out and log back in, it complains that it can't display the webpage. This happens in both Firefox and IE. I am puzzled. (5 Replies)
Discussion started by: billshaw
5 Replies

4. UNIX for Dummies Questions & Answers

How can i hide username/password

hi all, i run sqlplus command on unix(HP-UX) like "sqlplus username/password@serverA @deneme.sql" but when someone run "ps -ef | grep sqlplus", it can see my username and password :( How can i hide username and password. thanx. (1 Reply)
Discussion started by: temhem
1 Replies

5. UNIX for Advanced & Expert Users

Login through SFTP using username and password

Hi All, I want to login to a server through SFTP by giving username and password, in an automated script. I know that this can be done through public key authentication, but my requirement is to login ONLY through username and password. I am using GNU/Linux server. Please advise me !!!... (4 Replies)
Discussion started by: sparks
4 Replies

6. Shell Programming and Scripting

Username and password

Hi I am new to using unix and am struggling with a script i am writing. What i am trying to do is get a user to enter a username, check the original file i created with username and pin to see if their is a corresponding entry. Next ask the user to enter the pin and see if this matches... (5 Replies)
Discussion started by: somersetdan
5 Replies

7. UNIX for Dummies Questions & Answers

How do you reset username/password

Picked up a 3b2 running System V. Works fine, but it requires a username and password. Is the username "root" or "sysadm"? How do I find out and how to I reset it or bypass it? Thanks. (2 Replies)
Discussion started by: TanRuNomad
2 Replies

8. Shell Programming and Scripting

Logging in with Username/Password on one line

Hello, I am currently working on a project that requires me to remote login into another UNIX system using different credentials. The problem is that progamatically I cannot simply feed the password into the UNIX system. Is there a way to feed the password within one command line statement. I... (1 Reply)
Discussion started by: myoung88
1 Replies

9. Solaris

Trouble logging in

We had a requirement to upgrade to Solaris 10 update 10. This was done to impose new password restrictions. So if I am logged into a machine with the new Solaris, the shadow file looks like this: user:BnkEzDH.TQR2c:15734:7:60::35:: If I change the password: ... (3 Replies)
Discussion started by: brownwrap
3 Replies

10. Shell Programming and Scripting

Steps after username and password is entered !

Hi, I know this sounds crazy question.. but I am just curious to know what happens next when I enter username and password and hit enter on a new Unix session (using Putty)? I mean which file gets executed, how the default login shell is determined etc... regards juzz4fun (5 Replies)
Discussion started by: juzz4fun
5 Replies
chkey(1)						      General Commands Manual							  chkey(1)

NAME
chkey - change user's secure RPC key pair SYNOPSIS
[ ] [ DESCRIPTION
is used to change a user's secure RPC public key and secret key pair. prompts for the old secure-rpc password and verifies that it is cor- rect by decrypting the secret key. If the user has not already used to decrypt and store the secret key with registers the secret key with the local daemon. If the secure- rpc password does not match the login password, prompts for the login password. uses the login password to encrypt the user's secret Diffie-Hellman (192 bit) cryptographic key. ensures that the login password and the secure-rpc password are kept the same. The key pair can be stored in the file (see publickey(4)), the NIS map, or entries in the LDAP directory. If a new secret key is gener- ated, it will be registered with the local daemon. If the source of the is not specified with the option, consults the entry in the name service switch configuration file (see nss- witch.conf(4)). If the entry specifies one and only one source, then will change the key in the specified name service. However, if mul- tiple name services are listed, cannot decide which source to update and will display an error message. The user should specify the source explicitly with the option. Non root users are not allowed to change their key pair in the file. Options Re-encrypt the existing secret key with the user's login password. Update the NIS database. Update the database. Update the LDAP database. WARNINGS
HP-UX 11i Version 2 is the last HP-UX release on which NIS+ is supported. LDAP is the recommended replacement for NIS+. HP fully supports the industry standard naming services based on LDAP. AUTHOR
was developed by Sun Microsystems, Inc. FILES
SEE ALSO
keylogin(1), keylogout(1), keyserv(1M), newkey(1M), nsswitch.conf(4), publickey(4). chkey(1)
All times are GMT -4. The time now is 12:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy