Arch Linux: Add group and add normal user

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.  

Advertisements

Arch Linux: Video driver (virtualbox)

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)

Arch Linux: Pacman package manager

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

Arch Linux Installation (Part 4): Configuring system and GRUB

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

Arch Linux Installation (Part 3) – Package selection and installation

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

Arch Linux Installation (Part 2) – Preparing hard disk

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