How to pass user name and password when telnet to a machine

Hello,

How I can pass username and password as an argument when I telnet or
rlogin to a machine to avoid user interaction.

Thanks,

Velmurugan G

-1
10/7/2005 11:17:55 AM
comp.unix.solaris 25966 articles. 1 followers. Post Follow

19 Replies
12016 Views

Similar Articles

[PageSpeed] 42

Hello,

You can put the machine name, username and password in the .netrc file 
and the execute the rlogin command like this :
rlogin -l <user name> <hostname>

Regards,
Thobias
gvelmurugan@gmail.com wrote:

>Hello,
>
>How I can pass username and password as an argument when I telnet or
>rlogin to a machine to avoid user interaction.
>
>Thanks,
>
>Velmurugan G
>
>  
>


-- 
Thobias Vakayil
Alcatel Development India (ADI)
PH: 2349961/72/86 EXTN :7018
0
Thobias
10/7/2005 11:29:55 AM
Hello Thobias,

I have tried this but it is asking for password.
What I have did is, in root's home directory:

# vi .netrc
<hostname>    root   <passsword>
#rlogin -l root <hostname>
password:

Any more suggestion.

Thanks 
Velmurugan G

0
gvelmurugan
10/7/2005 12:06:12 PM
Thobias Vakayil <Vakayil.Thobias@alcatel.com> wrote:
> gvelmurugan@gmail.com wrote:
>>How I can pass username and password as an argument when I telnet or
>>rlogin to a machine to avoid user interaction.
>
> You can put the machine name, username and password in the .netrc file 
> and the execute the rlogin command like this :
> rlogin -l <user name> <hostname>

I guess you haven't actually tested that ? From `man netrc`:

  The .netrc file contains data for logging  in  to  a  remote
  host  over  the  network  for file transfers by ftp(1).

To the OP - use ssh instead. If you think you can't use ssh, re-think.
If you *still* think that ssh is absolutely no alternative, take a 
look at expect ( http://expect.nist.gov/ ).

mp.
-- 
Systems Administrator | Institute of Scientific Computing | Univ. of Vienna
0
Martin
10/7/2005 12:22:25 PM
Is that your wanted to automate some procedures that require telnet to other 
server and run some commands? If so, you can use an  "expect" script (expect 
is an command interrupters (like perl, awk ... etc.) using TCL language).

Regards,

Henry

"Thobias Vakayil" <Vakayil.Thobias@alcatel.com> wrote in message 
news:1128685136.826734@slbhw0...
> Hello,
>
> You can put the machine name, username and password in the .netrc file and 
> the execute the rlogin command like this :
> rlogin -l <user name> <hostname>
>
> Regards,
> Thobias
> gvelmurugan@gmail.com wrote:
>
>>Hello,
>>
>>How I can pass username and password as an argument when I telnet or
>>rlogin to a machine to avoid user interaction.
>>
>>Thanks,
>>
>>Velmurugan G
>>
>>
>
>
> -- 
> Thobias Vakayil
> Alcatel Development India (ADI)
> PH: 2349961/72/86 EXTN :7018 


1
kaming
10/7/2005 12:26:09 PM
<gvelmurugan@gmail.com> wrote in message 
news:1128683875.827621.284380@g47g2000cwa.googlegroups.com...
> Hello,
>
> How I can pass username and password as an argument when I telnet or
> rlogin to a machine to avoid user interaction.
>
> Thanks,
>
> Velmurugan G
>

You should really look into using ssh/ssh-agent/+keys

--
Rodrick R. Brown
http://www.rodrickbrown.com 


0
Rodrick
10/7/2005 12:30:44 PM
Thobias Vakayil <Vakayil.Thobias@alcatel.com> wrote:
> Hello,
> 
> You can put the machine name, username and password in the .netrc file 
> and the execute the rlogin command like this :
> rlogin -l <user name> <hostname>

..netrc is for ftp, you have to edit .rhosts

But don't do this. Instead use ssh with public/private keypair.

Suppose you want to login from host A to host B:

- On host A create a ssh keypair:
	ssh-keygen -t dsa -N "" -f $HOME/.ssh/id_dsa

- Copy (or append) the contents of $HOME/.ssh/id_dsa.pub from host A to
  $HOME/.ssh/authorized_keys on host B:
	scp $HOME/.ssh/id_dsa.pub USER@HOST-B:.ssh/authorized_keys
								(copy)
	ssh USER@HOST-B "cat >> .ssh/authorized_keys" < $HOME/.ssh/id_dsa.pub
								(append)
  Make sure the $HOME/.ssh directory exists on host B and has permissions 700.

- If you want a passwordless root-login you have to enable direct root-logins
  via ssh. On Host B edit /etc/ssh/sshd_config and change the relevant line to
	PermitRootLogin no
  or
	PermitRootLogin without-password
  For details read the manual page sshd_config(4).
  Then restart the ssh daemon:
	svcadm restart ssh				(Solaris 10)
  or
	/etc/init.d/sshd stop; /etc/init.d/sshd start	(Solaris 9)


-- 
Daniel
0
Daniel
10/7/2005 12:35:53 PM
Hello Daniel,

yep .netrc is for ftp, anyhow thanks for the tips Thobias.  SSH sounds
good, but is there is anyway to pass username and password as a
parameter for telnet or rlogin without interaction of user.  I dont
wanna edit .rhosts.

Thanks,

Velmurugan G

0
gvelmurugan
10/7/2005 12:52:07 PM
gvelmurugan@gmail.com wrote:

> Hello Daniel,
> 
> yep .netrc is for ftp, anyhow thanks for the tips Thobias.  SSH sounds
> good, but is there is anyway to pass username and password as a
> parameter for telnet or rlogin without interaction of user.  I dont
> wanna edit .rhosts.
> 
> Thanks,
> 
> Velmurugan G


http://steve-parker.org/sh/hints.shtml
0
Edward
10/7/2005 12:59:24 PM
"gvelmurugan@gmail.com" <gvelmurugan@gmail.com> writes:
>Hello,
>
>How I can pass username and password as an argument when I telnet or
>rlogin to a machine to avoid user interaction.

You don't. You use SSH.


-- 
            "Other people are not your property."
        [email me at huge [at] huge [dot] org [dot] uk]


0
huge
10/8/2005 9:47:47 AM
Hello Edward,

I have tried this site " http://steve-parker.org/sh/hints.shtml " and
came across one script.

telnet1.sh :

#!/bin/sh
host=sunfi75
port=23
login=root
passwd=Gan@Kri
cmd="ls /tmp"

echo open ${host} ${port}
sleep 1
echo ${login}
sleep 1
echo ${passwd}
sleep 1
echo ${cmd}
sleep 1
echo exit


#telnet1.sh | telnet

It is working fine and what the problem is,  it exits after 1 second
even when  I commented out the line.
..............
............
#echo exit
..............

Any suggestion  ?


Thanks,

Velmurugan G

1
gvelmurugan
10/8/2005 12:59:47 PM
Hello Edward,


I have tried this site " http://steve-parker.org/sh/hints.shtml " and
came across one script.


telnet1.sh :


#!/bin/sh
host=sunfi75
port=23
login=root
passwd=Gan@Kri
cmd="ls /tmp"


echo open ${host} ${port}
sleep 1
echo ${login}
sleep 1
echo ${passwd}
sleep 1
echo ${cmd}
sleep 1
echo exit


#telnet1.sh | telnet


It is working fine and what the problem is,  it exits after 1 second
even when  I commented out the line.
..............
............
#echo exit
.............. 


Any suggestion  ? 


Thanks, 


Velmurugan G

0
gvelmurugan
10/8/2005 1:20:25 PM
On Sat, 08 Oct 2005 05:59:47 -0700, gvelmurugan@gmail.com wrote:

> Hello Edward,
> 
> I have tried this site " http://steve-parker.org/sh/hints.shtml " and came
> across one script.
> 
> telnet1.sh :
> 
> #!/bin/sh
> host=sunfi75
> port=23
> login=root
> passwd=Gan@Kri
> cmd="ls /tmp"
> 
> echo open ${host} ${port}
> sleep 1
> echo ${login}
> sleep 1
> echo ${passwd}
> sleep 1
> echo ${cmd}
> sleep 1
> echo exit
> 
> 
> #telnet1.sh | telnet
> 
> It is working fine and what the problem is,  it exits after 1 second even
> when  I commented out the line.
> .............
> ...........
> #echo exit
> .............
> 
> Any suggestion  ?
> 
> 

Yes, do as huge suggests and use ssh
:-)

Or, if you really really really want to use telnet, use expect


-- 
	Bruce

"The internet is a huge and diverse community and   
not every one is friendly" 		           
        http://www.ytc1.co.uk                     

0
Bruce
10/8/2005 1:53:32 PM
gvelmurugan@gmail.com wrote:
> I have tried this site " http://steve-parker.org/sh/hints.shtml " and
> came across one script.
> 
> telnet1.sh :
> 
> #!/bin/sh
> host=sunfi75
> port=23
> login=root
> passwd=Gan@Kri
> cmd="ls /tmp"
> 
> echo open ${host} ${port}
> sleep 1
> echo ${login}
> sleep 1
> echo ${passwd}
> sleep 1
> echo ${cmd}
> sleep 1
> echo exit
> 
> 
> #telnet1.sh | telnet
> 
> It is working fine and what the problem is,  it exits after 1 second
> even when  I commented out the line.
> .............
> ...........
> #echo exit
> .............

If it exits not matter what you do, and if you want it not to exit,
then how does that qualify as "working fine"?

The fact of the matter is, it is not working fine, and there is no
way to modify this script to do what you want.  As soon as the script
exits, telnet will get an end-of-file on its standard input, and it
will close the connection and exit.  There is no way to modify the
script to provide an *interactive* login session.

> Any suggestion  ?

Yes, use ssh.  telnet does not have the feature you want.

   - Logan
0
Logan
10/8/2005 4:05:17 PM
Most of people know abt ssh and its Automation. There are few case u cant modify a remote server authentication file, so u need a way to pass your username and password while write a non user interactive one script. instead of suggesting a way for that you guys only say ssh and all abt its authentication. All know that, say something if you know more.  

--
0
8/17/2012 8:02:27 PM
On 18/08/2012 6:02 AM, rudrasamal wrote:
> Most of people know abt ssh and its Automation. There are few case u cant modify a remote server authentication file, so u need a way to pass your username and password while write a non user interactive one script. instead of suggesting a way for that you guys only say ssh and all abt its authentication. All know that, say something if you know more.
>
> --http://compgroups.net/comp.unix.solaris/how-to-pass-user-name-and-password-when-tel/40654
>
>
I *think* the answer to what you are asking is "expect"[1], but I could 
be wrong, either in that you are actually asking a question or what it 
is about.

	Cheers,
		Gary	B-)

1 - here: <http://expect.sourceforge.net/>
-- 
When men talk to their friends, they insult each other.
They don't  really mean it.
When women talk to their friends, they compliment each other.
They don't mean it either.
0
grschmidt (105)
8/18/2012 12:40:45 AM
hi,

On 08/17/12 10:02 PM, rudrasamal wrote:
> Most of people know abt ssh and its Automation. There are few case u cant modify a remote server authentication file, so u need a way to pass your username and password while write a non user interactive one script. instead of suggesting a way for that you guys only say ssh and all abt its authentication. All know that, say something if you know more.
>
> --http://compgroups.net/comp.unix.solaris/how-to-pass-user-name-and-password-when-tel/40654
>
>
I use expect for such things, its perfect!

/michael



0
8/18/2012 6:24:27 PM
I think I landed on the same solution years after you. But fortunately I was able to control the command flow and run the script as it is.

Just reminding you that it's still useful.

Thank You.
On Saturday, October 8, 2005 6:29:47 PM UTC+5:30, gvelm...@gmail.com wrote:
> Hello Edward,
> 
> I have tried this site " http://steve-parker.org/sh/hints.shtml " and
> came across one script.
> 
> telnet1.sh :
> 
> #!/bin/sh
> host=sunfi75
> port=23
> login=root
> passwd=Gan@Kri
> cmd="ls /tmp"
> 
> echo open ${host} ${port}
> sleep 1
> echo ${login}
> sleep 1
> echo ${passwd}
> sleep 1
> echo ${cmd}
> sleep 1
> echo exit
> 
> 
> #telnet1.sh | telnet
> 
> It is working fine and what the problem is,  it exits after 1 second
> even when  I commented out the line.
> .............
> ...........
> #echo exit
> .............
> 
> Any suggestion  ?
> 
> 
> Thanks,
> 
> Velmurugan G

0
pndyamit
4/8/2014 9:40:03 AM
pndyamit@gmail.com wrote:
> Just reminding you that it's still useful.

I would disagree.  It was a bad idea in 2005, and it's a REALLY bad idea now.

SSH exists and people should use it.  If your organization hasn't updated
their security policies to REQUIRE (not just allow) SSH instead of telnet,
then there's no hope for you.

-- 
Brandon Hume    - hume -> BOFH.Ca, http://WWW.BOFH.Ca/
0
hume
4/8/2014 5:11:50 PM
hume.spamfilter@bofh.ca wrote:

> I would disagree.  It was a bad idea in 2005, and it's a REALLY bad idea
> now.

That's what I would have replied too, if you didn't already :)

Bye...

	Dirk
-- 
Dirk Heinrichs <dirk.heinrichs@altum.de>
Tel: +49 (0)2471 209385 | Mobil: +49 (0)176 34473913
GPG Public Key CB614542 | Jabber: dirk.heinrichs@altum.de
Sichere Internetkommunikation: http://www.retroshare.org

0
Dirk
4/9/2014 4:06:53 PM
Reply:

Similar Artilces:

supplied user name and password in the *.pcf file, but the vpnclient wants me to enter user name and password manually
Folks, I want to log into the VPN automatically (and periodically) from the script. I though that if I put the user name and password into the *.pcf file, the vpnclient will not ask for the manual entry of the user name and password. So, I have modified the *.pcf file accordingly: [main] Description=[description] Host=XXX.XXX.XXX.XXX AuthType=1 GroupName=3D-P GroupPwd= enc_GroupPwd=[long string of hex] EnableISPConnect=0 ISPConnectType=0 ISPConnect=VPN - XXXX ISPPhonebook=C:\Documents and Settings\All Users\Application Data\Microsoft\Network\Connections\Pbk\rasphone.pbk I...

My Solaris 2.8 machine resolves remote host names differently than my other UNIX machines
Hi, I'm having a problem with my Solaris 2.8 machine resolving the host names of my AIX and Linux RH9 machines. My AIX is named "mike" and the Linux is named "justin". Their domain is "innovativesystems.net". Our DNS server is a Windows NT machine called "main1_nt". I'm testing with the gethostbyaddr program found at this address: ftp://gandalf.cc.purdue.edu/pub/amanda/gethostbyaddr.c When I run it on my Solaris machine and feed it the IP address of my Linux machine, the output tells me the name of my Linux machine is "justin.m...

How to Telnet to Unix Machine without User Interaction
Hello all, Is there is any script, so that if I entered my hostname, Username and password in the script it should automatically entered into that machine ie via Telnet. Thanks Velmurugan G hi In article <1126881653.702278.180610@g49g2000cwa.googlegroups.com>, gvelmurugan@gmail.com wrote: > Hello all, > > Is there is any script, so that if I entered my hostname, Username and > password in the script it should automatically entered into that > machine ie via Telnet. > > Thanks > > Velmurugan G try installing expect http://expect.nist.gov/ -- De...

Java Program should open a telnet session and login to Unix server using a valid user id and password
Hi, I wanted to write a Java Program which will login ( using Telnet ) to a Unix Server ( Ex: Solaris, Red Hat Linux) and issue some commands in the Solaris. The Java Program should be written in Windows machine. If the java program is executed, then commands like cat or rm should be executed in the unix server. Any Help ?? Regards, Kiran H Hi, are you sure you actually need /telnet/ to do the job? Will simply opening a socket, and writing the commands to the output stream of that socket, not do? You you really need to go for the external telnet command you should look for the vario...

Linux to Solaris sendmail, regarding local/user names, no domain name
Greetings! I have a Linux system, on which I do all my development and use most often. I was given a Sun Ultra 30. It has a small disk drive, but all I'm planning on using it for, first, is just my connection to the internet. It has two NICs. I have the sendmail on the Sun/Solaris 8 configured, and working perfectly, so far as I can tell. I have the sendmail on the Linux configured, much more simply than when it was also my connection to the internet. All mail, both ways, seems to be working (local to local, local to same domain name, local to another domain name, etc.). ...

User name and password
hello, all I want to control the vi to access only by the person who is permitted. So I want to set user name and password in order to&nbsp; control the access. Any help ? ...

How to retrieve a user's password, along with the group and user name (in code)?
Hey, I want to populate a listbox with the names of all users, what groups they belong to and what their passwords are. I have tried this but there is no "property" or value for password. How do I retrieve the user's password along with both the user name and group? I can get either the group name or user name but not both and for sure not the user's password using the following: (I have added the ADOX to code references) Dim varListRow As Variant ' Clear out the contents first: Me.cboUserNames.RowSource = "" Me.lstUsersGroups.RowSource = "" Di...

user name and password?
My brother thought it would be a good idea if he started using his mac not in permanently administrator mode because he kept messing up things), so he put a username and password on it (standard stuff, nothing clever). But now, a year later, he wants to update Carbon Copy (or even use CC) and he cant remember his username or password. Firstly: How many guesses does he get before it locks him out permanently? Is there a way of retrieving this info? [I'm not a Mac user, I use RISCOS] (which always operates in admin mode, there is no other). -- Cheers Roge...

My imac requires windows users to enter "User Name"+"Password"
I'm running OS x 10.3.2 and I have configured windows shares and a shared printer on this imac. However, these shares are only available to the other XP Home users after they have entered a username and password. Also, there appears to be no way for XP Home users to "remember" these to avoid typing them in everytime a user wishes to re-logon and use a shared imac resource. So. How can I make all my XP network users have access to my printer and shared folders without this hassle? gregsiddons@hotmail.com (Greg.S) wrote in message news:<3a769848.0402010646.259c9dc9@posting.goo...

Warning message "Database user name must be a valid UNIX user account"
Hi, I tried to configure Docbase thru Documentum Content Server 5.2, ContentServer_Solaris.bin program. I got a warning message "Database user name must be a valid UNIX user account" after I entered the Database User Name for database connection. The database user that I entered is "documentum", which is a UNIX account that I used to install Content Server, it is also a DB user configured on Oracle 9.2.0. I am not sure why the warning message popup, the "documentum" account even has the same passowrd for UNIX and DB. Please help me out if you had...

User Password of a user is 10 character but if I give the first 8 character rightly it login to the AIX machine.
User Password of a user is 10 character but if I give the first 8 character rightly it login to the AIX machine. Where should I edit the AIX System settings so that it check for the users 10 characters password. On 2007-05-25, kumaaraswamy@gmail.com <kumaaraswamy@gmail.com> wrote: > User Password of a user is 10 character but if I give the first 8 > character rightly it login to the AIX machine. > > Where should I edit the AIX System settings so that it check for the > users 10 characters password. http://publib.boulder.ibm.com/infocenter/pseries/v5r3/topic/com.ibm.aix...

Notification between Users in Unix Machine
I am logged in a Debian PC. There are many users running sessions with "putty" in the same machine. I want to notify the other users in the machine that i am going to "restart/shutdown" the machine. Please let me know a way to notify "others" in their active sessions about the planned "downtime" activity. "Like an information message in their console" Thanks, Glen ------- Beginner in Shell & Unix ------- Glen wrote: > I am logged in a Debian PC. There are many users running sessions with > "putty" in the same machine. &...

Using user names and passwords
I am confused: I want to use a database that users can log into with a user name / password. There really won't be any security settings, as far as certain users being restricted, etc. All I want to use the user name and password for is to use the currentuser() feature, so they can view reports of transactions for ONLY themselves, etc. How do I create a set of user names and passwords for ONLY this one database I make? It seems like any security settings I change affect every single database! Could anyone out there provide some help for me? I would appreciate it. Phil *** Sent ...

Password ageing for Solaris Users
Hello all, We are trying to enforce the password ageing for Solaris users.We had given Max days as 91. After this, when the root changed password, it had the max days as 91. My question is, what will happen after 91 days and the pwd is not changed. Will the root account be locked? If so, how to unlock it? Best Regards, Pradeep Bad idea to age root password. After the time is up, you will be forced to change the password. Some SSH client do not support change password so you may have to patch SSH or telnet. ...

default user-name and password?
I'm new to Oracle (I hope I'm posting in the right area). When 9i is installed on Windows XP, what is the default user-name and password? I want to get into the HR schema and execute the following commands: alter user hr identified by hr account unlock; grant dba to hr; connect hr/hr Thank you. Ray Email - raymondkim@yahoo.com http://www.petefinnigan.com/default/oracle_default_passwords.htm Oracle Server wrote: > I'm new to Oracle (I hope I'm posting in the right area). When 9i > is installed on Windows XP, what is the default user-name and password? > &...

How to avoid the user name and password?
Is there any way to avoid hardcoding the userID and Password when defining a library to access Oracle tables? I want to define a SAS library in SAS Management console and provide authorization to individual users. Using SAS9.1.3. Users has to use this library in their SAS coding and avoid hardcoding their user info, library definition and schema info. Can I do this? Ravi M wrote: > > Is there any way to avoid hardcoding the userID and Password when defining > a library to access Oracle tables? > > I want to define a SAS library in SAS Management console and provide > aut...

Proxy user name and password
Hiya everyone, Java can be made to use a socks proxy like this: java -DsocksProxyHost=YOUR.SOCKS.PROXY -DsocksProxyPort=YOURSOCKSPORT However, what if I want to use a specific username and password for this proxy? Can this be done from the command line too? Cheers, Miguel "Michael Garvie" <mmg20@cogs.susx.ac.uk> wrote in message news:3FC20D0A.5D780181@cogs.susx.ac.uk... > Hiya everyone, > Java can be made to use a socks proxy like this: > java -DsocksProxyHost=YOUR.SOCKS.PROXY - > DsocksProxyPort=YOURSOCKSPORT > > However, what if I want to use a specific username and > password for this proxy? Can this be done from the > command line too? > Sure, but I'm not sure that you would want the password 'exposed' in this way - presumably you will be launching the application from a shell script / batch file [these are plain text, unencrypted files]. Still, two ways to pass data to your application directly from the command-line: * Command-line arguments e.g. java MyApp username password In your application's 'main': public static void main(String[] args) { ... args[0] ==> username args[1] ==> password ... } * System Properties e.g. java MyApp -DUSER=username -DPWD=password You must then retrieve them: ... username = System.getProperty("USER"); ... password = System.getProperty(&quo...

newbie Want user to Reset Password ( ie User forgets password)
I've seen some other posts of people trying to reset System passwords. Now, User logs on to Oracle( 9i ) on an NT4.0 through web Browser. When the User forgets their password, I would like to have a web page where user pushes a button and a new computer generated password is emailed to the user. I've looked at Perl, JDeveloper and Not sure where to go. Any suggestions? TIA Steve ...

multiple request for user name and password
When a user on win xp logs in to their machine, they are asked for username and password, then when they try to connect to the shares I have setup on my samba server they are asked again. how can I have it so that uname and passwd are only needed to be supplied once. Users have same login and pass on their linux accounts, encrypted passwords enabled etc. is this a security = ... option i need to set? something on the winxp boxes or on the samba server, or is this default behavior? sorry if this question has already been done to death, i just couldn't seem to find a definitive answer on g...

creat a user name and password check
hi, i already got a software code for a project, now i have to creat a user name and password check so that just certain ppl can use this software.i worte the code below: function varargout = c001_test(varargin) prompt = {'Enter user name:','Enter password:'}; dlg_title = 'Enter to the NTRC Grating'; num_lines= 1; def = {'', ''}; answer = inputdlg(prompt,dlg_title,num_lines, def); if def == {'hello', 'hello'} clear close all run c5050_mainp else errordlg('Please make sure your user name and password correc...

Perl User Name/Password issue
Hi All, I need some urgent help on Net::Ftp object. I have written a perl script file which connects to server and downloads some files and quits. If i do a test on the test environment with around 10 users i have no issues. But on one of the production server something very funny is been observed. Some users after some random numbers of proper connections, are getting a 503 login incorrect error. This error is very random and doesnt happen in a cycle way. Say around 10-20 proper connections once incorrect login error. Can anybody help me on this, what could be the issue. Is there any maxim...

Re: How to avoid the user name and password?
Hi, We set these in the OS environment and use %sysget to set them. In our case, we have SAS on unix and have DBUSER, DBPASS and DBPATH either set for a users login, or set by a shell script which launches the sas program. As most users have read access it's set in their login, but when we write a SAS program that writes to the DB, we hard-code it in a shell script, and then lock-down the shell script so no-one can see the password. This process works for both Windows and Unix environments. For example: dbwrite.sh or dbwrite.bat: export DBUSER=myusername export DBPASS=mysecrect export...

The telnet login fails if the user has no password
The telnet login fails if the user has no password. I mean the user is not prompted with the ``Password:'' string and log in, as shown in below case 2. $cnn->login($user, $pass); It works in case 1. How can I make a script work with both cases? Thank you. CASE 1: $ telnet 192.168.4.30 Trying 192.168.4.30... Connected to 192.168.4.30. Escape character is '^]'. login: guest Password: [guest@BS2000e-1 ~]$ exit logout Connection closed by foreign host. $ CASE 2: $ telnet 192.168.5.10 Trying 192.168.5.10... Connected to 192.168.5.10. Escape character is '^]'. ...

Password Hardening
Hi, Looking for script/tool/PAM Module which can enable password hardening at user level. /etc/passwd contains users for Application, Database & System Admin. /etc/default/passwd will enforce hardening at system wide level, whereas my requirement is to have Password hardening done for System Admin either by using PAM Module/tool and rest of the users password hardening should get from /etc/default/passwd file. In article <05b32ead-768f-4cca-954d-d3ff0f727543@googlegroups.com>, oracleadm15@gmail.com writes: > Hi, > > Looking for script/tool/PAM Module which ca...

Web resources about - How to pass user name and password when telnet to a machine - comp.unix.solaris

One-time password - Wikipedia, the free encyclopedia
A one-time password (OTP) is a password that is valid for only one login session or transaction. OTPs avoid a number of shortcomings that are ...

Oregon To Consider Bill Blocking Employers From Demanding Applicants’ Facebook Passwords
The Oregon House of Representatives will hear a bill Friday that would prevent employers from demanding that job applicants reveal their passwords ...

Keeping Passwords Secure
The Facebook Security team has always kept a close eye on data breach announcements from other organizations. Theft of personal data like email ...

New Facebook Security Features: One-Time Passwords, Security Info
Facebook has launched two new security features to help users stay in control of their accounts. Users can now receive a one-time password from ...

Popular WordPress plugin pulled after discovery of password-stealing backdoor
The precise number of websites out there running on WordPress may not be known, but one thing is for sure there are a lot of them. Two reasons ...

MasterCard to replace passwords with selfies
MasterCard customers will soon be able to replace their passwords with a “selfie” and a fingerprints to verify their identity.

Ultimate guide to iPhone and iPad password manager apps
As we store more and more sensitive info on our iPhones and iPads, password manager apps are more important than ever. Here's why!

MasterCard Says It Will Use Selfies to Replace Passwords
Double biometric checks already have been tested in the U.S. and the Netherlands. The company will be launching them in the U.K. soon.

FBI investigating if Clinton aides shared passwords to access classified info
The FBI is investigating whether computer passwords were shared among Hillary Clinton's close aides to determine how sensitive intelligence jumped ...

The Dark Arts: SQL Injection and Secure Passwords
As the year of 2005 was drawing to a close, a website known as Myspace was basking in popularity. With millions of users, the site was the most ...

Resources last updated: 3/10/2016 1:37:30 AM