in reply to Login to a remote solaris machine as superuser through perl

Normal login using Telnet worked just fine but login as Superuser started giving problems.

You didn't say whether you can telnet into the solaris machine as root. Many distributions have a setting to "disable root telnet logons" for security purposes. SSH is better.

Even if you are not concerned with security, because it's "internal use", you may be giving away the solaris root password to anyone who looks at the various logs. It's not worth the risk.


I'm not really a human, but I play one on earth. flash japh
  • Comment on Re: Login to a remote solaris machine as superuser through perl

Replies are listed 'Best First'.
Re^2: Login to a remote solaris machine as superuser through perl
by jhourcle (Prior) on Apr 28, 2006 at 15:37 UTC

    I agree ... it's better to create a user that's not named root, with permissions just to do the minimum functionality required ... and to use SSH

    That being said, recent versions of Solaris by default only allows root login from the console. Look in /etc/default/login for the CONSOLE setting.