LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   Not able to take control Solaris through putty. Why So? (https://www.linuxquestions.org/questions/solaris-opensolaris-20/not-able-to-take-control-solaris-through-putty-why-so-4175476370/)

manalisharmabe 09-08-2013 09:37 AM

Not able to take control Solaris through putty. Why So?
 
1 Attachment(s)
Hi Guys,

I am not able to take control of my Solaris os through putty,
it shows following message. see please.
the network control is set as bridged.

273 09-08-2013 09:50 AM

Are you typing the correct password?
Does the Solaris machine allow login using passwords?
Does the Solaris machines allow root login through SSH (I'm guessing it's disabled by default as it is in Linux)?

manalisharmabe 09-08-2013 10:41 AM

Are you typing the correct password?YES
Does the Solaris machine allow login using passwords?NOT SURE, HOW TO ENABLE IT/
Does the Solaris machines allow root login through SSH (I'm guessing it's disabled by default as it is in Linux)?, NOT SURE

Please guide.

273 09-08-2013 10:50 AM

Check your SSH deamon config file, on Linux it's in /etc/ssh/sshd_config but I don't recall where it is on Solaris, and you should find where to enable login with passwords (though I think it's on by default).
You will also where to enable root login -- never do this on a real machine that is exposed to the internet though.

jlliagre 09-08-2013 02:22 PM

Quote:

Originally Posted by 273 (Post 5024119)
Check your SSH deamon config file, on Linux it's in /etc/ssh/sshd_config but I don't recall where it is on Solaris

At the very same location.

Solaris does indeed forbids root login from ssh by default.

There is another file, /etc/default/login, which restricts root to log in only on the console.

In any case, I would recommend to leave the ssh and login configuration as they are, create and use a regular user account for remote login, and use su, sudo, pfexec or similar to get administrative rights.

manalisharmabe 09-09-2013 08:31 AM

Quote:

Originally Posted by jlliagre (Post 5024203)
At the very same location.

Solaris does indeed forbids root login from ssh by default.

There is another file, /etc/default/login, which restricts root to log in only on the console.

In any case, I would recommend to leave the ssh and login configuration as they are, create and use a regular user account for remote login, and use su, sudo, pfexec or similar to get administrative rights.

Great reply Thanks!!!

manalisharmabe 09-09-2013 12:44 PM

yes. I did what is required in /etc/default/login file .

And I first login by normal user and thn did su - root.

Solved.

Thanks jlliagre!!!

Solved.


All times are GMT -5. The time now is 03:51 AM.