HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - Linux
 - >
 - Re: sudo privileges for user id management.
 
Operating System - Linux
        1840190
        Members
    
    
        6333
        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
 
04-07-2008 04:53 PM
04-07-2008 04:53 PM
			
				
					
						
							sudo privileges for user id management.
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi,
We have a mixed unix environment here.
We have Solaris, Linux, AIX & HP-UNIX servers. All of them make a total of around 2000 servers. The dev & test servers are in NIS domain. The production boxes are not in NIS domain.
We want the unix id creation (both NIS and local) to be taken care of L1 support.
We have give sudo privileges for a NIS Id creation script on NIS server.
Was wondering how to get this done on the server that are not part of NIS domain.
My immedite thought is to start installing sudo package on Solaris, Linux, AIX & HP-UNIX servers on an as needed basis going forward and edit the /etc/sudoers accordingly.
Please suggest.
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
We have a mixed unix environment here.
We have Solaris, Linux, AIX & HP-UNIX servers. All of them make a total of around 2000 servers. The dev & test servers are in NIS domain. The production boxes are not in NIS domain.
We want the unix id creation (both NIS and local) to be taken care of L1 support.
We have give sudo privileges for a NIS Id creation script on NIS server.
Was wondering how to get this done on the server that are not part of NIS domain.
My immedite thought is to start installing sudo package on Solaris, Linux, AIX & HP-UNIX servers on an as needed basis going forward and edit the /etc/sudoers accordingly.
Please suggest.
		3 REPLIES 3
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
04-08-2008 02:33 AM
04-08-2008 02:33 AM
			
				
					
						
							Re: sudo privileges for user id management.
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						i would recommend a main/infrastrature server each for all UNIX versions and a script can be run from that main host which can do the account managament remotely.
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
04-08-2008 04:15 AM
04-08-2008 04:15 AM
			
				
					
						
							Re: sudo privileges for user id management.
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi,
We have a trusted host.
Can we have something like this:
1. From this trusted host when the script is run, it will find out if the remote server is part of NIS.
2. If it is part of NIS, It will exit, otherwise it will gather all details from the user and run the useradd command on the remote machine.
I am wondering how a user on the system executing the script run the useradd command on the remote system... How can he become privileged user on the remote server to add users?
Please suggest.
		
		
	
	
	
We have a trusted host.
Can we have something like this:
1. From this trusted host when the script is run, it will find out if the remote server is part of NIS.
2. If it is part of NIS, It will exit, otherwise it will gather all details from the user and run the useradd command on the remote machine.
I am wondering how a user on the system executing the script run the useradd command on the remote system... How can he become privileged user on the remote server to add users?
Please suggest.
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
04-08-2008 09:44 AM
04-08-2008 09:44 AM
			
				
					
						
							Re: sudo privileges for user id management.
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						" am wondering how a user on the system executing the script run the useradd command on the remote system... How can he become privileged user on the remote server to add users?"
did u try this for test? A trusted system can do much more than this
We keep a main server each for HP-UX and Linux and mainatain a all.hosts file . The script refers the each host in the list and does the operation/script mentioned.
		
		
	
	
	
did u try this for test? A trusted system can do much more than this
We keep a main server each for HP-UX and Linux and mainatain a all.hosts file . The script refers the each host in the list and does the operation/script mentioned.
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