Difference between revisions of "First start"

From Klaus' wiki
Jump to: navigation, search
(Created page with "First time you start the handed out virtual machine, which has been preloaded with all necessary software, please follow these instructions: Click on the osboxes highlighted...")
(No difference)

Revision as of 15:55, 26 April 2020

First time you start the handed out virtual machine, which has been preloaded with all necessary software, please follow these instructions:

Click on the osboxes highlighted label in the middle of the screen to login. The password is "osboxes.org" (without " and ")

When logged in press the Alt+F12 keys and Yakuake - a terminal rolls down from the top of the screen.

Highlight the code below with you mouse.

cat<<EOF
#!/bin/bash                                                                                             
# Create a user account with admin rights                                                               
                                                                                                        
echo "When prompted for sudo password enter the valid password for the user osboxes"                    
if [ $# -eq 1 ];                                                                                        
then                                                                                                    
        sudo useradd -m -G wheel $1                                                                     
else                                                                                                    
        echo "usage: $0 NewUserName"                                                                    
        exit                                                                                            
fi                                                                                                      
                                                                                                        
echo "Now set your preferred password for the account"                                                  
echo "Notice nothing is written on screen, but all keystrokes are captured"                             
                                                                                                        
sudo passwd $1                                                                                           

echo "Thank you, User $1 is now created. Please logout and try your new account."
EOF>create.user

Paste the copy into the Yakuake terminal and press enter

Next issue these commands:

]$ chmod 700 create.user
]$ ./create.user <YourDesiredLoginName>

You are no prompted for the sudo password for osboxes - use the same as you used when you first logged in.

Next you should enter your preferred password for your account - do it twice. Do be afraid if you donøt see anything. On Linux when passwords are entered nothing is shown on the screen, but your keystrokes are still captured by the program.

Your screen should look something like this:

[osboxes@osboxes ~]$ ./create.user klaus
When prompted for sudo password enter the valid password for the user osboxes
Now set your preferred password for the account
Notice nothing is written on screen, but all keystrokes are captured
Changing password for user klaus.
New password: 
Retype new password: 
passwd: all authentication tokens updated successfully.
Thank you, User klaus is now created. Please logout and try your new account.
[osboxes@osboxes ~]$ 


Finally click on the Centos Menu button down left, choose Leave and next Logout.

How to leave

Logout

Next thing is to login again using your new login.

Logon

Select Window System

On Linux you have a number of different Windows systems. I prefer KDE, but have also installed GNOME. If you are new to Linux try out the KDE, it is probably the one that can look most like the OS coming from Redmond, Washington.