Solaris 8 PermitRootLogin


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris 8 PermitRootLogin
# 1  
Old 09-24-2008
Solaris 8 PermitRootLogin

Hi All,

The file /usr/local/etc/sshd_config have no lines about

PermitRootLogin yes or PermitRootLgoin no

What does it mean? No login for root or it does.

Thanks in advance. Smilie
# 2  
Old 09-25-2008
If PermitRootLgoin is set to yes, it means that you can ssh as root directly to the server (Not recommended). PermitRootLgoin setting to "No" will require you to login/ssh to the server using your personal id/ a/c, then followed by su- if you wish to take upon the role of root.Smilie
# 3  
Old 09-25-2008
If the line is not present at all, it means the default of *** DELETED *** applies

edit: I had previously said "no" there but it turns out I've got it backwards - by default, sshd _does_ permit root logins :/

Last edited by Smiling Dragon; 09-25-2008 at 06:18 PM.. Reason: Got it wrong
# 4  
Old 09-25-2008
The default of "Yes" applies
# 5  
Old 09-25-2008
Quote:
Originally Posted by incredible
The default of "Yes" applies
Woah! Incredible's right - that's horrible! (Not inc being right, but sshd's default behaviour that is Smilie) Will edit my post above just to make it _really_ clear...Smilie
# 6  
Old 09-25-2008
i guess the best way is to test, thanks to all.
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Solaris

Patching Procedure in Solaris 10 with sun cluster having Solaris zone

Hi Gurus I am not able to find the patching procedure for solaris 10 ( sol10 u11) to latest patchset with sun cluster having failover zones so that same I should follow. Take an instance, there are sol1 and sol2 nodes and having two failover zones like sozone1-rg and sozone2-rg and currently... (1 Reply)
Discussion started by: nick101
1 Replies

2. Solaris

How to add Solaris text console to Solaris grub2 menu?

Hi, I am new to sloaris and just instlled the solaris 11.2, i know little more about linux, i open the /boot/grub/grub.cfg in solaris and there is many other entries forl solaris 11.2 one of them is for 'Oracle Solaris 11.2 text console' but at boot grub2 only show the first default entry that... (1 Reply)
Discussion started by: shamsat
1 Replies

3. Solaris

Unable to login using ssh,telnet onto my solaris machine with solaris 10 installed

Hi, I am unable to login into my terminal hosting Solaris 10 and get the below error message "Server refused to allocate pty ld.so.1: sh: fatal: libc.so.1: open failed: No such file or directory " Is there anyways i can get into my machine and what kind of changes are required to be... (7 Replies)
Discussion started by: sankasu
7 Replies

4. Solaris

application compiled on solaris 10 throwing error when executed on solaris 9

I have compiled my application on Solaris 10 with following description SunOS ldg1 5.10 Generic_138888-03 sun4v sparc SUNW,Sun-Blade-T6320 The compiler is Sun C++ 5.9 SunOS_sparc Patch 124863-01 2007/07/25 But when installing the application on Solaris 9 SunOS odcarch02 5.9... (2 Replies)
Discussion started by: ash_bit2k2
2 Replies

5. Shell Programming and Scripting

sed replace #PermitRootLogin yes

I can't seem to get this to work. I am trying this: sed -e 's/#PermitRootLogin yes/PermitRootLogin no/' /etc/ssh/sshd_config I am not super familiar with sed. Any help? (8 Replies)
Discussion started by: markdjones82
8 Replies
Login or Register to Ask a Question