LinuxQuestions.org
Visit the LQ Articles and Editorials section
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, 01: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, 07:19 PM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
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, 07:32 PM   #3
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
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, 01: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
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 05:11 PM
root password on remote system arut Solaris / OpenSolaris 2 01-03-2005 06:27 AM
ROOT LOGIN OK, su password NOT OK Darrell_Thomas_ Linux - Security 3 10-19-2004 03:32 PM
Help: cannot remote login as root tho_x_tran Linux - Security 7 09-11-2004 01:05 AM
WU-FTP root login remote adme Linux - Networking 2 02-07-2003 03:58 AM


All times are GMT -5. The time now is 08:39 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration