Add a group groupadd cyrus -g 1000 To verify: cat /etc/group Add user and put to group cyrus useradd cyrus Verify the account cat /etc/passwd Understand the sequence of passwd file username:password:UID:GID:Name:Home directory:shell Clear text password does not store in /etc/passwd, password is salted and hashed and stored in /etc/shadow file.
I need a video driver in order to install X, and then OpenBox or other desktop manager. 1. Install libdrm-2.4.30-1. pacman -S libdrm 2. Install dkms. pacman -S dkms 3. Install virtualbox-archlinux-additions. pacman -S virtualbox-archlinux-additions 4. Manually load the drivers: modprobe -a vboxguest vboxsf vboxvideo Do a lsmod to confirm: 5. Include the three drivers … Continue reading Arch Linux: Video driver (virtualbox)
1. Create RSA key pairs: ssh-keygen. Save the generated key pairs as /etc/ssh/ssh_host_rsa_key 2. Turn on sshd service: sshd 3. Check if the service is present: netstat -antp |grep 22 4. Add a line in /etc/fstab to mount /dev/pts, this is so whenever Arch boots up /dev/pts will be mounted. At the same time mount … Continue reading Arch Linux: Turning on sshd
Only core.db is installed in the hard disk, extra.db and community.db have to be downloaded. To download these database, I will need to use Pacman to synchronize the database: pacman uses the mirrorlist located in /etc/pacman.d/mirrorlist file. Synchronizing repository database pacman -Sy Synchronizing and upgrade the system pacman -Syu Arch Linux advised to upgrade pacman … Continue reading Arch Linux: Pacman package manager
It is advisable to customize the configuration files, I would have to configure them after installation completed anyway. Let's start customizing the config files! The default hostname was mylinux I think...Anyway I changed it to cyruslab instead, I walkthrough the rest of the IP configuration all were fine because I am using dhcp. In the … Continue reading Arch Linux Installation (Part 4): Configuring system and GRUB
The next stage is selecting package I need or I think I need. Arch Linux installation gives a lot of freedom to its user, by letting user to choose and select the packages he/she thinks he/she needs, I like this empowerment and of course the pre-requisite is to know what I need or at least … Continue reading Arch Linux Installation (Part 3) – Package selection and installation
I have decided to break this Arch Linux Installation journal into parts as it is getting longer.... I used to skip hard disk partitioning in the past, because I had no idea what to partition, I would go by using the default setting whereby everything will be mounted to '/'. As I used Linux and … Continue reading Arch Linux Installation (Part 2) – Preparing hard disk