HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - HP-UX
 - >
 - Re: mailx utility
 
Operating System - HP-UX
        1840137
        Members
    
    
        1839
        Online
    
    
        110161
        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
	
		
			
            
                
            Go to solution
        
            
		
		
			
            	
	
		
        
		
	
	
		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
 
02-16-2004 12:58 AM
02-16-2004 12:58 AM
			
				
					
					
						Hi,
There is a need to restrict mailx for few users.
Any suggestions.
Thanks
Venky
	
			
				
		
			
			
			
			
			
			
		
		
		
	
	
	
There is a need to restrict mailx for few users.
Any suggestions.
Thanks
Venky
Solved! Go to Solution.
		3 REPLIES 3
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
02-16-2004 01:06 AM
02-16-2004 01:06 AM
Solution
			
				
					
					
						change the permissions on /usr/bin/mailx to 550, and the group from bin to a new group, eg. mailx
Then only add those users who need to execute it into the new mailx group (/etc/group) you created, then only they (and root) can run it.
					
				
			
			
				
		
		
	
	
	
Then only add those users who need to execute it into the new mailx group (/etc/group) you created, then only they (and root) can run it.
	Im from Palmerston North, New Zealand, but somehow ended up in London...
			
			
				
			
			
			
			
			
			
		- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
02-16-2004 01:11 AM
02-16-2004 01:11 AM
			
				
					
						
							Re: mailx utility
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						hi,
 
and what about other interfaces : mail, elm, ... and sendmail itself??
 
regards,
Thierry.
		
		
	
	
	
and what about other interfaces : mail, elm, ... and sendmail itself??
regards,
Thierry.
	All unix flavours are exactly the same  . . . . . . . . . . for end users anyway.
			
			
				
			
			
			
			
			
			
		- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
02-16-2004 01:35 AM
02-16-2004 01:35 AM
			
				
					
						
							Re: mailx utility
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						mailx uses sendmail which users can directly access as well.
You'll need to change the permissions in the binaries.
Once you get sendmail elm and mailx will stop working as well since they both use it.
You will need to check the permissions on sendmail every time you install new binaries. It is being patched quite frequently of late.
SEP
		
		
	
	
	
You'll need to change the permissions in the binaries.
Once you get sendmail elm and mailx will stop working as well since they both use it.
You will need to check the permissions on sendmail every time you install new binaries. It is being patched quite frequently of late.
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
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