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
-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
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
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
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 ?
-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
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
-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
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
-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
10 matches
Mail list logo