Betsie, the reason is that first in /etc/pam.d there is a login file which
contains a line for securetty (I think is the first or second) if you
comment that one out it will let root login from any terminal. The other
problem is (if I remember correctly) RedHat doesn't enable telnet
automatically. For this you would need to go to /etc/xinetd.d/telnet file
and change the disable entry from yes to no. The easiest way to get into it
is to change from the zVM console of the Linux guest the ability to telnet
via a sed command like this:
cat /etc/xinetd.d/telnet | sed -e 's/yes/no/g' > telnet-new     and then
make sure it is ok and move it on top of telnet
you must now restart inetd by /etc/init.d/inetd restart
telnet into your RedHat machine with the other user, do an "su" to root and
edit the pam.d file if you want to be able to logon to root. If you only
want to be able to logon to root from the zVM console instead you can add
the word "console" at the end of the /etc/securetty file. Hope this helps.
Carlos :-)



Saying goes: Great minds think alike - I say: Great minds think for
themselves!

Carlos A. Ordonez
IBM Corporation
Server Consolidation



|---------+--------------------------->
|         |           Betsie Spann    |
|         |           <betsie.spann@or|
|         |           acle.com>       |
|         |           Sent by: Linux  |
|         |           on 390 Port     |
|         |           <[EMAIL PROTECTED]|
|         |           RIST.EDU>       |
|         |                           |
|         |                           |
|         |           11/20/2002 08:08|
|         |           PM              |
|         |           Please respond  |
|         |           to Linux on 390 |
|         |           Port            |
|         |                           |
|---------+--------------------------->
  
>-------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                                           |
  |        To:      [EMAIL PROTECTED]                                            
                                           |
  |        cc:                                                                         
                                           |
  |                 From:                                                              
                                           |
  |               Subject:      Asking for RH technical reference                      
                                           |
  |                                                                                    
                                           |
  
>-------------------------------------------------------------------------------------------------------------------------------|




Hi,
Looking for a reference book to teach myself about RH.  The type of
questions I have are
Why can't I login as root?
Why can't I issue commands with rexecd?
Betsie

Reply via email to