AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
Expand all | Collapse all

how to restrict root login from certain terminals

  • 1.  how to restrict root login from certain terminals

    Posted Mon February 15, 2010 09:00 AM

    Originally posted by: Mohammed_Qasim


    Hello All,

    I am very new to AIX and this is my first post. I just would like to know how would i restrict root login from certain terminal.

    Thanks in Advance.
    #AIX-Forum


  • 2.  Re: how to restrict root login from certain terminals

    Posted Tue February 16, 2010 11:37 AM

    Originally posted by: afisher


    1. smitty users

    "Change / Show characteristics of a User"

    User Name = root

    "Another user can SU TO USER?" = true
    "User can LOGIN?" = false
    "User can LOGIN REMOTELY?" = false

    Notes Of A Nerd - http://www.NotesOfANerd.com
    #AIX-Forum


  • 3.  Re: how to restrict root login from certain terminals

    Posted Sun February 21, 2010 07:37 PM

    Originally posted by: SystemAdmin


    Hi,

    Have a look at the tty clause in /etc/security/user. The default user is usually set to have "ttys = ALL"; you can set specific ttys or block specific ttys for the root user.
    #AIX-Forum