04-11-2017
Ssh onto Solaris servers (which uses NIS)
Sys admin has provided me username and password and advised that solaris uses nis (and then I've been given hostnames).
I've downloaded putty but it gives me authentication failure. Nothing special I have to do if its NIS authentication?
10 More Discussions You Might Find Interesting
1. Cybersecurity
Hi Guys,
Is it possible to run NIS over ssh as I want to run NIS without the security risks that would normally follow?
If you have got any suggestions please share them with me.
Andy H (2 Replies)
Discussion started by: Andy Hibbins
2 Replies
2. UNIX for Advanced & Expert Users
Hello all,
I'm not sure if this is the right forum, but I would like to know if Redhat running NIS ( not NIS +) would have conflict with Solaris running NIS+. Currently I am running NIS+ on Solaris but will be adding RedHat to the network. I seem to be unable to find and information regarding... (2 Replies)
Discussion started by: larry
2 Replies
3. Solaris
I am currently setting up rdiff-backup to use ssh to connect and remotely backup and retrieve data. I am doing so by creating rsa keys for each server and copying the relevant key to the /.ssh folder on the relevant server.
All seems to work well when severs running solaris 8 with ssh 3.6.1 are... (6 Replies)
Discussion started by: falklandtim
6 Replies
4. UNIX for Advanced & Expert Users
I have copied and verified all the NIS data over from Machine 'A' (Old server) to Machine 'B' (New server), however when I go to start the process of migrating the ‘new maps' back to Machine "A", I get the following error, any ideas?
I type on Machine 'A':
/usr/lib/netsvc/yp/ypxfr -h otslw007... (2 Replies)
Discussion started by: frankkahle
2 Replies
5. Shell Programming and Scripting
Hi all,
I have a script written successfully and tuned by our members, now I am trying to execute this script from a taxi server.
My aim is I want to connect to four servers via ssh where I want to ran a script or run some commands and write the output to a file in the Taxi server.
I... (12 Replies)
Discussion started by: senthilkumar_ak
12 Replies
6. Shell Programming and Scripting
Hi Expert,
I have environment where password is locally managed, not NIS, not LDAP, not Centrally managed.
In order to access to this environment I have to use Jump Box, and only from jumpbox I can login to every host. I can't login direct from inside one host within that environment to... (1 Reply)
Discussion started by: regmaster
1 Replies
7. IP Networking
Hi all.
Im working in a telco Environment and recently setup a new server. The other servers are a combination of Solaris + Linux machines.
Using my new server , I can ping all other servers ( solaris + redhat linux )
but the issue lies where I try to ssh.
I can only successfully ssh linux... (3 Replies)
Discussion started by: Junaid Subhani
3 Replies
8. AIX
As I do a ssh <nis_user>@server1 from server2, ssh prompts for certificates (as expected the first time), then it prompts for the users password, as soon as I enter the password, I get a Connection to server1 closed by remote host, and connection to server1 closed. and I disconnect back to the... (3 Replies)
Discussion started by: mrmurdock
3 Replies
9. UNIX for Beginners Questions & Answers
Hi folks.
I'm pretty new to unix, while I'm learning a lot I'm finding bash scripting quite confusing. Im sure it's not really, my head just hasn't clicked with it.
Anyway, I need a script to loop the ip addresses stored in a file and run a "pgrep <process>" and return the pid or some... (2 Replies)
Discussion started by: MuntyScrunt
2 Replies
10. Shell Programming and Scripting
Hi,
I am trying to complete my bash script in order to find which SSH servers on LAN are still active with the ssh keys, but i am frozen at this step:
#!/bin/bash
# LAN SSH KEYS DISCOVERY SCRIPT
</etc/passwd \
grep /bin/bash |
cut -d: -f6 |
sudo xargs -i -- sh -c '
&& cat... (11 Replies)
Discussion started by: syrius
11 Replies
LEARN ABOUT SUSE
pam_userdb
PAM_USERDB(8) Linux-PAM Manual PAM_USERDB(8)
NAME
pam_userdb - PAM module to authenticate against a db database
SYNOPSIS
pam_userdb.so db=/path/database [debug] [crypt=[crypt|none]] [icase] [dump] [try_first_pass] [use_first_pass] [unknown_ok] [key_only]
DESCRIPTION
The pam_userdb module is used to verify a username/password pair against values stored in a Berkeley DB database. The database is indexed
by the username, and the data fields corresponding to the username keys are the passwords.
OPTIONS
crypt=[crypt|none]
Indicates whether encrypted or plaintext passwords are stored in the database. If it is crypt, passwords should be stored in the
database in crypt(3) form. If none is selected, passwords should be stored in the database as plaintext.
db=/path/database
Use the /path/database database for performing lookup. There is no default; the module will return PAM_IGNORE if no database is
provided.
debug
Print debug information.
dump
Dump all the entries in the database to the log. Don't do this by default!
icase
Make the password verification to be case insensitive (ie when working with registration numbers and such). Only works with plaintext
password storage.
try_first_pass
Use the authentication token previously obtained by another module that did the conversation with the application. If this token can
not be obtained then the module will try to converse. This option can be used for stacking different modules that need to deal with the
authentication tokens.
use_first_pass
Use the authentication token previously obtained by another module that did the conversation with the application. If this token can
not be obtained then the module will fail. This option can be used for stacking different modules that need to deal with the
authentication tokens.
unknown_ok
Do not return error when checking for a user that is not in the database. This can be used to stack more than one pam_userdb module
that will check a username/password pair in more than a database.
key_only
The username and password are concatenated together in the database hash as 'username-password' with a random value. if the
concatenation of the username and password with a dash in the middle returns any result, the user is valid. this is useful in cases
where the username may not be unique but the username and password pair are.
MODULE TYPES PROVIDED
The auth and account module types are provided.
RETURN VALUES
PAM_AUTH_ERR
Authentication failure.
PAM_AUTHTOK_RECOVERY_ERR
Authentication information cannot be recovered.
PAM_BUF_ERR
Memory buffer error.
PAM_CONV_ERR
Conversation failure.
PAM_SERVICE_ERR
Error in service module.
PAM_SUCCESS
Success.
PAM_USER_UNKNOWN
User not known to the underlying authentication module.
EXAMPLES
auth sufficient pam_userdb.so icase db=/etc/dbtest.db
SEE ALSO
crypt(3), pam.conf(5), pam.d(5), pam(8)
AUTHOR
pam_userdb was written by Cristian Gafton >gafton@redhat.com<.
Linux-PAM Manual 03/02/2009 PAM_USERDB(8)