ClarkVision.com

To Clarkvision.com Galleries
Home Galleries Articles Reviews Best Gear Science New About Contact

Linux for Photographers, Part 4
Add Users and Configure Program

by Roger N. Clark

Linux Mint after all the programs are installed: add users and configure programs

Linux for Photographers:


All images, text and data on this site are copyrighted.
They may not be used except by written permission from Roger N. Clark.
All rights reserved.

UNDER CONSTRUCTION


Introduction

After all the programs are installed, you may want to add users, and configure programs such as stellarium or add windows to run photoshop r other windows programs not available on linux. On this page I explain some of the ways one might want to configure the system and specifics on other programs.

During the Linux install, a user name is chosen. I usually make this a manager account, for example, choose a name like "manager1." Then one needs to add yourself and possibly other users who might use the computer. I configure my systems so multiple users might use the computer. Unix maintains file ownership, and copying files and directories to usb drives maintains that ownership with a User ID, UID, number. Thus it is best to have the same UIDs on all your computers, for example, desktop and laptop.

Examples for adding users and groups. Note you can do this with the system -> Administration -> Users and Groups tool, but command lines are faster and can be made into a script for even faster setup.

The commands below must be executed as root. From your account that you created at the linux install, start ar root shell:

Then exit the root shell when done.

#!/bin/sh

# add groups

addgroup   --gid 1005  photo      # photo group

# add users:

# add user john with shell tcsh and put him in the photo group (1005).

adduser --home /home/john   --shell /bin/tcsh --uid 5100 --disabled-login   --gid 1005  --gecos 'John Smith'   john

# add user sarah with shell bash and put her in the photo group (1005).

adduser --home /home/sarah  --shell /bin/bash --uid 5101 --disabled-login   --gid 1005  --gecos 'Sara Smith'   sarah

Next, start the System -> Administration -> Users and Groups, and select priveleges for the users and set their passwords. Note, you may need to check the box under priveleges: "Connect to wireless and ethernet networks" if you want to allow these users to access the internet,


Linux for Photographers:


Home Galleries Articles Reviews Best Gear Science New About Contact

http://clarkvision.com/articles/linux.for.photographers

First Published October 25, 2014
Last updated October 25, 2014.