root via ssh

  • Follow


Hello,

I can not su - root when I am logged in to our SunOS machine via ssh.
When I am on the local terminal I can su.

Where can I change this behaviour.

We have
unOS 5.9 Generic_112233-05 sun4u sparc SUNW,Ultra-5_10

Thanks
Andreas
0
Reply Andreas 11/2/2006 9:30:25 AM

Andreas Moroder wrote:
> Hello,
>
> I can not su - root when I am logged in to our SunOS machine via ssh.
> When I am on the local terminal I can su.
>
> Where can I change this behaviour.
>
> We have
> unOS 5.9 Generic_112233-05 sun4u sparc SUNW,Ultra-5_10
>
> Thanks
> Andreas

I might be wrong, but it should work. You might try using the setting
"PermitRootLogin" to "yes" in /etc/ssh/sshd_config file temporarily and
see if that works. Though, it's bad idea but It will allow root to
login over ssh.

Commented out the "CONSOLE=/dev/console" entry in /etc/default/login
file might do that trick for remote root login, but then should you
want to allow it?


--
Raqueeb Hassan
Bangladesh

0
Reply Raqueeb 11/2/2006 12:57:12 PM


Andreas Moroder wrote:
> Hello,
> 
> I can not su - root when I am logged in to our SunOS machine via ssh.
> When I am on the local terminal I can su.

You say that when logged is as ordinary user on console/screen you can
do su - but when logged in via ssh as the same user you can't?

I find that hard to believe...

/Thommy M.
0
Reply ISO 11/2/2006 1:10:15 PM

Thommy M. Malmstr�m schrieb:
> Andreas Moroder wrote:
> 
>>Hello,
>>
>>I can not su - root when I am logged in to our SunOS machine via ssh.
>>When I am on the local terminal I can su.
> 
> 
> You say that when logged is as ordinary user on console/screen you can
> do su - but when logged in via ssh as the same user you can't?
> 
> I find that hard to believe...
> 
> /Thommy M.
Me too,

sorry I don't know why it did not work. Maybe I made a mistake typing 
the pwd.

Thanks
Andreas
0
Reply Andreas 11/2/2006 4:13:07 PM

3 Replies
467 Views

(page loaded in 0.043 seconds)

Similiar Articles:













7/28/2012 11:49:59 AM


Reply: