HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - HP-UX
 - >
 - Re: /dev/rmt permissions - default
 
Operating System - HP-UX
        1840202
        Members
    
    
        3140
        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
	
		
			
            
                
            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
 
08-24-2000 10:36 AM
08-24-2000 10:36 AM
			
				
					
					
						I have been notified by our security office of a "finding" in regard to the permissions granted on /dev/rmt/* (the tape devices).  They have stated that the permissions that are set on each device/tape allow "others" to have access and possibly erase data on a tape.  The permissions are now crw-rw-rw- (766) and need to be changed to 760.  My questions are:
1. Will changing the permissions cause any problems?
2. Is this an HP default setting?
Thanks in advance for your responses!
					
				
			
			
				
	
			
				
		
			
			
			
			
			
			
		
		
		
	
	
	
1. Will changing the permissions cause any problems?
2. Is this an HP default setting?
Thanks in advance for your responses!
	Independent by nature
			
			
				Solved! Go to Solution.
		3 REPLIES 3
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
08-24-2000 10:42 AM
08-24-2000 10:42 AM
			
				
					
						
							Re: /dev/rmt permissions - default
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						The default is 666 under bin:bin ownership.
If changed to 660, that means you take away from users the possibility to backup/restore.
It is not a big issue, but as well I do not see a huge security problem here. Maybe other devices...
		
		
	
	
	
If changed to 660, that means you take away from users the possibility to backup/restore.
It is not a big issue, but as well I do not see a huge security problem here. Maybe other devices...
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
08-24-2000 10:47 AM
08-24-2000 10:47 AM
			
				
					
						
							Re: /dev/rmt permissions - default
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						As Antoanetta mentioned, it is read write for other in order to let anyone use the tape drive, not only backup purpose...I dont see anything wrong or issue to that...
Regards
		
		
	
	
	
Regards
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
08-24-2000 01:46 PM
08-24-2000 01:46 PM
Solution
			
				
					
					
						Each system admin should review the permissions on all device files. For a large server, tapes should never be accessible by users since most backup programs have no security code to allow reading of the tape. Consider a backup of porprietary data like personnel records or financial data.  All the protection in unix through file and directory permissions is useless once the data is on a tape.  
While the ordinary user can't restore files into directories owned by root, someone could restore these files into a local directory with simple commands like chroot. By restricting the tape device files to 600 or 660 (7 is meaningless as the tape device files are not executable), only root can read or write tapes.
Same thing for all disk device files. *NO* read or write permissions for ordinary users. If these device files were readable (whether lvols or physical disks), a hacker to read the raw data on any disk and bypass all file/directory protection.
	
Bill Hassell, sysadmin
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
While the ordinary user can't restore files into directories owned by root, someone could restore these files into a local directory with simple commands like chroot. By restricting the tape device files to 600 or 660 (7 is meaningless as the tape device files are not executable), only root can read or write tapes.
Same thing for all disk device files. *NO* read or write permissions for ordinary users. If these device files were readable (whether lvols or physical disks), a hacker to read the raw data on any disk and bypass all file/directory protection.
Bill Hassell, sysadmin
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