User Management
From Freespire
| User Management | |
|---|---|
| Home-->Documentation-->Freespire User Manual-->Common Tasks-->Other-->User Management | < Back Forward > |
User Manager (KUser)
Freespire creates an Admin (sudo) account during installation, hides the root account, and allows the creation of additional user accounts during the start-up wizard (or can be created anytime using Launch > Run Programs > System > KUser (User Manager)) (or in Freespire 1: Launch > Settings > Additional Options > User Manager).
The Admin SuperUser (sudo) account has the following permissions:
- admins: allows you to use 'sudo' and run other functions in administrator mode
- camera: allows you to use webcams.
- cnr: allows you to run cnr.
- desktop: allows you to login to the desktop.
- dialout & dip: allows access to modems (you can use ppp).
- disk: allows direct access to hard drives (you can run fdisk).
- lpadmin: allows you to administer printers
- users: marks you as an actual user and not simply a daemon process (haven't seen anything that uses/requires this, it just seems to provide some extra meta-data).
- video: allows you to use v4l (video for Linux) devices like TV tuner cards.
Root's Actions can be installed to allow the following:
- Browse as root using the File Manager
- Open Terminal as root
- Run an application as root
Contents |
User manager can modify Users or Groups.
Users can be:
- Added
- Edited (Add or Remove Groups the user is a member of)
- Deleted
User Info tab
- User login: (when the account was added)
- User ID: (numerical identity of user accounts)
- Full name: (listed in login manager)
- Login shell: /bin/bash (default)
- Home folder: /home/~ (User login)
- Office #1: (blank field)
- Office #2: (blank field)
- Address: (blank field)
- Account disabled (/root has this selected by default)
- Passwords can be set via this tab
Password Management tab
Set password life - used on multiple user systems (default set to Never)
Groups tab
- audio
- camera
- cdrom
- cnr
- desktop
- dialout
- dip
- disk
- lpadmin
- users (Default Primary Group)
Editing User Groups
To change the Groups that a user is a member of:
- Open KDE User Manager
- In the User Tab, double click the user name you wish to edit
- Click the Groups Tab
- check or uncheck as needed
User Permissions
To give read/write permission to everyone, add this phrase to the options for the file_system in your file /etc/fstab: ",gid=users,umask=000"
You need to have root access to edit that file. The whole line will look something like this:
/dev/hdxy /mnt/hdxy file_system noatime,user,exec,dev,suid,gid=users,umask=000 0 0
- x will be a letter starting with a, then b,c,....
- y will be a number starting with 1, then 2,3,....
File types:
- Linux file systems:
- ext2, ext3, jfs, reiserfs, reiser4, xfs, swap.
- Windows:
- vfat = FAT 32, FAT 16
- ntfs= NTFS
Additional Options: (From wiki.linuxquestions.org):
- sync/async - All I/O to the file system should be done (a)synchronously.
- auto - The filesystem can be mounted automatically (at bootup, or when mount is passed the -a option). This is really unnecessary as this is the default action of mount -a anyway.
- noauto - The filesystem will NOT be automatically mounted at startup, or when mount passed -a. You must explicitly mount the filesystem.
- dev/nodev - Permit any user to mount the filesystem. This automatically implies noexec
- exec / noexec - Permit/Prevent the execution of binaries from the filesystem.
- suid/nosuid - Permit/Block the operation of suid, and sgid bits.
- ro - Mount read-only.
- rw - Mount read-write.
- user - Permit any user to mount the filesystem. This automatically implies noexec, nosuid,nodev unless overridden.
- nouser - Only permit root to mount the filesystem. This is also a default setting.
- defaults - Use default settings. Equivalent to rw, suid, dev, exec, auto, nouser, async.
- _netdev - this is a network device, mount it after bringing up the network. Only valid with fstype nfs.
The "umask" is "user mask" and it sets the permission bits for permission that is not allowed if you wish to change the default.
VFAT/NTFS:
Syntax is "odd" at first.
- To set a permissions of 777, umask=000
- to set permissions of 700, umask=077
- o= Sets owner. Syntax: must use owned by USER ID # not name.
- g= sets group ownership of mount point. Again syntax is by GROUP ID # not name.
022 means everything is allowed for root, writing/executing are allowed for group and world.
JiffyMount
Disable the jiffymount command to prevent it overwriting your changes on the next boot:
mv /sbin/jiffymount /sbin/jiffymount-DONT-RUN
This page is linked from the Freespire User Manual, please review the Editing Guidelines and follow the wiki Style Guide. Concerns about the topic should reside in the discussion tab.


