The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



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

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-08-2006
zuessh zuessh is offline
Registered User
  
 

Join Date: May 2006
Posts: 34
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
  #2 (permalink)  
Old 12-13-2006
Keith Johnson Keith Johnson is offline
Registered User
  
 

Join Date: Jun 2006
Posts: 10
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?
  #3 (permalink)  
Old 12-13-2006
zuessh zuessh is offline
Registered User
  
 

Join Date: May 2006
Posts: 34
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
  #4 (permalink)  
Old 12-13-2006
Keith Johnson Keith Johnson is offline
Registered User
  
 

Join Date: Jun 2006
Posts: 10
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
  #5 (permalink)  
Old 12-15-2006
kapilraj kapilraj is offline
Registered User
  
 

Join Date: Dec 2006
Location: Maryland
Posts: 162
If you leave /etc/nologin file, no user other than root can login to that machine. To restrict shell access but ftp, I normall setup some shell scripts in the profile.
  #6 (permalink)  
Old 12-16-2006
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
  
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,628
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
Closed Thread

Bookmarks

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:23 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0