LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories
User Name
Password
LinuxQuestions.org Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.

Notices


Reply
  Search this Thread
Old 02-07-2004, 12:58 PM   #1
jerry950
LQ Newbie
 
Registered: Feb 2004
Posts: 8

Rep: Reputation: 0
Slackware 2.4.22 remote root login no password


This is in information post only. No need to reply.

I have searched and searched for the answer to the question on how to
allow root to access a slackware 2.4.22 linux system from solaris systems without
linux system asking for password. Why. I need to utilize rdist from solaris systems
to linux system.

What I have been able to do on the linux system so far.

I have root ~/.rhosts - make sure in roots true home based on passwd file entry.
<solaris hostname> root

I have uncommented the tty's and pty's from /etc/securetty.
and in inetd.conf uncommented and restarted inetd (kill -HUP <pid of inetd>):

#telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd

Allowing root to at least login with telnet and a password.


I have uncommented out from /etc/inetd.conf and restarted inetd.

shell stream tcp nowait root /usr/sbin/tcpd in.rshd -L
login stream tcp nowait root /usr/sbin/tcpd in.rlogind -h

And added the -h, the one piece I was missing, to rlogind line since it states in the man page that -h will allow root to use its .rhosts.

I have no pam files so any post I saw about root access related to
this did not help.

Hopefully this will help someone with the same problem with Linux Slackware.
I'm sure RH and others are different methods.

I will work on using a more secure method when I have the time.


root login no password rlogin rsh slackware rhosts
 
Old 02-07-2004, 06:19 PM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
I suggest you look into using expect which is a wonderful tool for automating remote logins, uploads/downoads and stuff like that. Expect scripts aren't hard to write, and it comes with a script that can capture everything you type and create a script from it.

Håkan
 
Old 02-07-2004, 06:32 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Moved: More suitable in our Success Forums since there is no question involved. Regards.


And yes, I would love to see a more secure method as I wouldn't recommend this type of access using root and rsh for anyone if your network is exposed to the public, internet, etc.

Cheers.
 
Old 02-09-2004, 12:40 PM   #4
jerry950
LQ Newbie
 
Registered: Feb 2004
Posts: 8

Original Poster
Rep: Reputation: 0
Yes, I have used expect before but I do not have the time to design
something more viable and secure. The customer wants and they are
not allowing me much time to implement.


Does anyone know how to get the automounter working correctly.
Part of it works but other parts show mounted but nothing there?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
remote login no password FC2 dretzloff Linux - Security 1 01-08-2005 04:11 PM
root password on remote system arut Solaris / OpenSolaris 2 01-03-2005 05:27 AM
ROOT LOGIN OK, su password NOT OK Darrell_Thomas_ Linux - Security 3 10-19-2004 02:32 PM
Help: cannot remote login as root tho_x_tran Linux - Security 7 09-11-2004 12:05 AM
WU-FTP root login remote adme Linux - Networking 2 02-07-2003 02:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories

All times are GMT -5. The time now is 09:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration