![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Linux Shell Question: how to print the shell script name ? | meili100 | UNIX for Dummies Questions & Answers | 3 | 07-01-2008 01:55 PM |
| nologin shell on Solaris? | GKnight | SUN Solaris | 2 | 09-22-2006 04:09 PM |
| Difference between writing Unix Shell script and AIX Shell Scripts | haroonec | AIX | 0 | 04-12-2006 02:27 AM |
| How to run unix commands in a new shell inside a shell script? | hkapil | Shell Programming and Scripting | 2 | 01-04-2006 06:56 AM |
| how to convert from korn shell to normal shell with this code? | forevercalz | Shell Programming and Scripting | 21 | 11-23-2005 02:18 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
aix nologin shell
is the nologin shell available in AIX 5.2? I am familiar with the nologin shell in linux and restricting shell access but still allowing ftp etc. Can this be done in AIX? I have not been able to locate any documentation. Thanks in advance
|
|
||||
|
I am not sure I am following your question, however on all the AIX systems I have ran over the years I have used /etc/ftpusers file as a deny users to ftp...
I have read of many ways to do this but this is the only one I have used. ...I use “smit users” and change the logs rights to stop telnet etc: Is this user ACCOUNT LOCKED? false + User can LOGIN? true + User can LOGIN REMOTELY(rsh,tn,rlogin)? true + is this were you are going? |
|
||||
|
Thanks for the reply, what is needed is a way for a user to be able to ftp into the server, but not telnet/ssh. I was under the understanding that if I set the 'user can login remotely' to false, they would not be able to ftp in. If this is incorrect or if you know of another way to set this up, please let me know. thanks
|
|
||||
|
i am talking abit off the top of my head...
but you could set up a .profile that logs the user right out and make the perms on the file so that they can not mod etc. then as long as the account has ftp access i.e. no entery in /etc/ftpusers or what ever you have configured to block ftp access. I did something like this in the past however i was not using ssh or anything at the time. Thus i am not sure it will work in this case. sorry kind of a hoky way of locking down access. PS i also echoed a smiple message in the .profile saying no access to this sytem... exit |
|
||||
|
Even easier is to change the login shell in /etc/passwd to /bin/false this is not impeding ftp-access but disallows shell login in any form (rlogin, telnet, ssh, etc.)
bakunin |
![]() |
| Bookmarks |
| Tags |
| linux |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|