Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Build Supercomputers with Raspberry Pi 3

You're reading from   Build Supercomputers with Raspberry Pi 3 A step-by-step guide that will enhance your skills in creating powerful systems to solve complex issues

Arrow left icon
Product type Paperback
Published in Mar 2017
Publisher Packt
ISBN-13 9781787282582
Length 254 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Carlos R. Morrison Carlos R. Morrison
Author Profile Icon Carlos R. Morrison
Carlos R. Morrison
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Getting Started with Supercomputing FREE CHAPTER 2. One Node Supercomputing 3. Preparing the Initial Two Nodes 4. Static IP Address and Hosts File Setup 5. Creating a Common User for All Nodes 6. Creating a Mountable Drive on the Master Node 7. Configuring the Eight Nodes 8. Testing the Super Cluster 9. Real-World Math Application 10. Real-World Physics Application 11. Real-World Engineering Application A. Appendix

Adding a new user for all nodes

We now proceed to implement the task components outlined earlier. First, we will add a new user to the pi home directory that will have the same user ID for all pi nodes at once. So, go ahead and list the current content of the home directory: enter ls -la /home at the $ prompt; see the following screenshot:

Adding a new user for all nodes

You see that it contains only the pi user. Now enter sudo useradd -m -u 1960 alpha. The parameter -m specifies the home directory, -u is the argument for a new user ID, 1960 is your new user ID (or any integer you desire), and the name alpha (or any name you desire) is what you want to associate with the user ID 1960. Now check to see whether the alpha, or the username you chose, was added to the home directory. List the contents as you did earlier; see the following screenshot:

Adding a new user for all nodes

You see that the alpha user was indeed added to the pi home directory. This is great! The next thing you want to do is create a password for this newly created alpha user...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime