Find the answer to your Linux question:
Results 1 to 2 of 2
i just want how to disable shell access, i did at /etc/shadow and changed that shell for home users is /bin/false but after that i realise that some services ftp ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2004
    Location
    Indonesia
    Posts
    84

    shell questions


    i just want how to disable shell access,

    i did at /etc/shadow and changed that shell for home users is /bin/false but after that i realise that some services ftp it blocked too

    and "nologin" is it under /bin directory ? but i found that is under /sbin
    is it ok ?

    and again i've read that G. Mourani books that some user system is need to remove like lpr, halt, print is necessary ?


    thanks for your concerned

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    Your method, while it might work, is a bit of a kludge. You might want to investigate using PAM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •