HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - HP-UX
 - >
 - Re: ftp question
 
Operating System - HP-UX
        1840188
        Members
    
    
        3583
        Online
    
    
        110162
        Solutions
    
Forums
        Categories
Company
Local Language
                
                  
                  back
                
        
                
        
                
        
                
        
        
        
                
        
                
        
        
        
                
        
              
              Forums
Discussions
Forums
- Data Protection and Retention
 - Entry Storage Systems
 - Legacy
 - Midrange and Enterprise Storage
 - Storage Networking
 - HPE Nimble Storage
 
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
                
                  
                  back
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
            
                
            
                
            
                
            
                
            
            
                
            
                
            
            
                
            
                
              
            Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
 - Appliance Servers
 - Alpha Servers
 - BackOffice Products
 - Internet Products
 - HPE 9000 and HPE e3000 Servers
 - Networking
 - Netservers
 - Secure OS Software for Linux
 - Server Management (Insight Manager 7)
 - Windows Server 2003
 - Operating System - Tru64 Unix
 - ProLiant Deployment and Provisioning
 - Linux-Based Community / Regional
 - Microsoft System Center Integration
 
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
        Information
        Community
Resources
Community Language
        Language
        Forums
Blogs
Topic Options
			
				
					
	
			
		
	- Subscribe to RSS Feed
 - Mark Topic as New
 - Mark Topic as Read
 - Float this Topic for Current User
 - Bookmark
 - Subscribe
 - Printer Friendly Page
 
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
06-04-2007 03:37 AM
06-04-2007 03:37 AM
			
				
					
						
							ftp question
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						For a couple of users on our system, I would like the directory that they land in when issuing ftp to be a directory other that their defined home directory. How is this accopmlished automatically?
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
		3 REPLIES 3
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
06-04-2007 03:40 AM
06-04-2007 03:40 AM
			
				
					
						
							Re: ftp question
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Shalom,
ftp access does not have an environment, nor does it have the ability to have scripts on the front end.
What you wish may be impossible.
If possible perhaps in the ftpaccess file.
man ftpaccess
SEP
		
		
	
	
	
ftp access does not have an environment, nor does it have the ability to have scripts on the front end.
What you wish may be impossible.
If possible perhaps in the ftpaccess file.
man ftpaccess
SEP
	Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
			
			
				
			
			
			
			
			
			
		Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
06-04-2007 03:46 AM
06-04-2007 03:46 AM
			
				
					
						
							Re: ftp question
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hello,
If you're using ProFTPD, the solution is simple, as ProFTPD automatically chroot's anonymous users. Add something like the following to proftpd.conf:
User user
Group group
AnonRequirePassword on
  
AllowAll
  
PCS
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
If you're using ProFTPD, the solution is simple, as ProFTPD automatically chroot's anonymous users. Add something like the following to proftpd.conf:
User user
Group group
AnonRequirePassword on
AllowAll
PCS
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
06-04-2007 08:37 AM
06-04-2007 08:37 AM
			
				
					
						
							Re: ftp question
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi,
Block those users from ftp-ing with their normal unix account and create another set of accounts just for ftp and withing the /etc/passwd, you can set different dir.
This should be fine to manage for a small number of accounts, but if this grows, you'll need another solution.
Jov
		
		
	
	
	
Block those users from ftp-ing with their normal unix account and create another set of accounts just for ftp and withing the /etc/passwd, you can set different dir.
This should be fine to manage for a small number of accounts, but if this grows, you'll need another solution.
Jov
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
		
	
	
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP