Skip to main content
IBM 
ShopSupportDownloads
IBM HomeProductsConsultingIndustriesNewsAbout IBM
IBM : developerWorks : Linux : Education - Tutorials
LPI certification 101 exam prep, Part 3
ZIPPDF (letter)PDF (A4)e-mail
Main menuSection menuFeedbackPreviousNext
4. Linux account management
  


Creating a home directory page 11 of 13


We're nearly done. Type the following commands to create testuser's home directory:


# cd /home
# mkdir testuser
# chown testuser.testuser testuser
# chmod o-rwx testuser

Our user's home directory is now in place and the account is ready for use. Well, almost ready. If you'd like to use this account, you'll need to use vipw to change testuser's default shell to /bin/bash so that the user can log in.


Main menuSection menuFeedbackPreviousNext
PrivacyLegalContact