stopping shell access

2002-12-21 Thread Rupendra Singh
i am running on redhat 7.2. i want to stop shell access for my users without effecting anything else like FTP IMAP SMTP POP. can i do so ? How ? Rupendra Singh -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe

Re: stopping shell access

2002-12-21 Thread Rick Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rupendra Singh wrote: | i am running on redhat 7.2. | | i want to stop shell access for my users without effecting anything | else like FTP IMAP SMTP POP. can i do so ? How ? Set their shell to /sbin/nologin instead of /bin/bash Using /sbin/nologin

Re: stopping shell access

2002-12-21 Thread Rupendra Singh
Set their shell to /sbin/nologin instead of /bin/bash Using /sbin/nologin vs. /bin/false retains FTP functionality since /sbin/nologin is considered a valid shell for FTP daemons which require this functionality. See /etc/shells for the listing (as of RH 8.0). its Ok IMAP POP SMTP running

Re: stopping shell access - Solved

2002-12-21 Thread Rupendra Singh
Set their shell to /sbin/nologin instead of /bin/bash Using /sbin/nologin vs. /bin/false retains FTP functionality since /sbin/nologin is considered a valid shell for FTP daemons which require this functionality. See /etc/shells for the listing (as of RH 8.0). its Ok IMAP POP SMTP running

Re: stopping shell access

2002-12-21 Thread Mike Burger
Close the telnet and ssh ports...change the shell entry in /etc/passwd for the users... On Sun, 22 Dec 2002, Rupendra Singh wrote: i am running on redhat 7.2. i want to stop shell access for my users without effecting anything else like FTP IMAP SMTP POP. can i do so ? How ?

Re: stopping shell access - Solved

2002-12-21 Thread Rick Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rupendra Singh wrote: |Set their shell to /sbin/nologin instead of /bin/bash | |Using /sbin/nologin vs. /bin/false retains FTP functionality |since /sbin/nologin is considered a valid shell for FTP daemons |which require this functionality. See

Re: stopping shell access - Solved

2002-12-21 Thread Josep M.
Hello. My rh 8.0 includes /bin/false !!! Josep Begin of Quote Rick Johnson : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rupendra Singh wrote: |Set their shell to /sbin/nologin instead of /bin/bash | |Using /sbin/nologin vs. /bin/false retains FTP functionality |since /sbin/nologin is

Re: stopping shell access - Solved

2002-12-21 Thread Rick Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Josep M. wrote: | Hello. | | My rh 8.0 includes /bin/false !!! | Did you put it in there? I checked all of my RH 8.0 and 7.3 servers and they only include the following: /bin/sh /bin/bash /sbin/nologin /bin/bash2 /bin/ash /bin/bsh /bin/tcsh

Re: stopping shell access - Solved

2002-12-21 Thread Josep M.
Hello. No,is included,as you can see,and installed by default in my case: [root@mail bin]# rpm -qf /bin/false sh-utils-2.0.12-3 Josep Begin of Quote Rick Johnson : -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Josep M. wrote: | Hello. | | My rh 8.0 includes /bin/false !!! | Did you put it

Re: stopping shell access - Solved

2002-12-21 Thread Rick Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Josep M. wrote: | Hello. | | No,is included,as you can see,and installed by default in my case: | I'm talking about the entry in /etc/shells, not whether /bin/false exists. Thanks, - -Rick - -- Rick Johnson, RHCE - [EMAIL PROTECTED] Linux/WAN