AIX

AIX

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

 View Only
  • 1.  Block root user in system console - aix 5.3

    Posted Mon November 29, 2010 02:54 AM

    Originally posted by: kmvinay


    How to block the root user login in system direct console. Users should login with non-root ids themselves and then use the su command to become root. Which configuration file i need to check and disable it.


  • 2.  Re: Block root user in system console - aix 5.3

    Posted Mon November 29, 2010 07:20 AM

    Originally posted by: SystemAdmin


    Hi kmvinay,
    You can use the command chuser to perform this or you can edit the /etc/security/user file
    chuser command:
    chuser login=false root
    to go back change it to true.

    at the /etc/security/user file:
    edit the file and add the line
    login = true to the root section.


  • 3.  Re: Block root user in system console - aix 5.3

    Posted Mon November 29, 2010 01:54 PM

    Originally posted by: j.gann


    invest some time to think if what you want to do is sensible. blocking remote root logins is good common practice but there are situations unix will only allow root logins. that's when a root login via console saves a headache.


  • 4.  Re: Block root user in system console - aix 5.3

    Posted Mon November 29, 2010 10:42 PM

    Originally posted by: kmvinay


    yes, i strongly agree... But some of the customers still keeping their process strict even though we have explained details about the cons. :)

    Any way, my sincere thanks for the answers.