AIX

AIX

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

 View Only
Expand all | Collapse all

Recommended solution for invalid shell (/dev/null, noshell etc.)

  • 1.  Recommended solution for invalid shell (/dev/null, noshell etc.)

    Posted Wed May 25, 2011 01:42 PM

    Originally posted by: SystemAdmin


    HelloWorld,

    Does anyone have a recommendation for assigning an invalid shell to a user? I was going to add /dev/null to the list of valid shells and use that, but if there are other recommendations, I'd be happy to hear them.

    Thanks,
    Mark


  • 2.  Re: Recommended solution for invalid shell (/dev/null, noshell etc.)

    Posted Wed May 25, 2011 01:55 PM

    Originally posted by: shargus


    /bin/false

    It's an executable that exits immediately, rather than a device file.


  • 3.  Re: Recommended solution for invalid shell (/dev/null, noshell etc.)

    Posted Wed May 25, 2011 02:36 PM

    Originally posted by: SystemAdmin


    Thx.