Ubuntu Linux Tip of the Day - How to install KDE and XFCE on Ubuntu I’m on the Top 100 Aussie Blogs!!!!
May 04

 Need to add extra user accounts in Ubuntu but not sure where to start? Want to change folder permissions? Well just have a look through todays tips and I am sure you will find what you need to do with user management!

How to set/change/enable root user password

sudo passwd root

How to disable root user account

sudo passwd -l root

How to allow root user to login into GNOME

System -> Administration -> Login Window

Login Windows Preferences

Security Tab -> Security -> Allow local system administrator login (Checked)

How to switch to root user in Console mode

sudo -s -H
Password: <specify user password>

or

sudo su
Password: <specify user password>

How to add/edit/delete system users

System -> Administration -> Users and Groups

Users and Groups

Users Tab -> Add User…/Properties/Delete

or

sudo useradd matt
sudo userdel matt

How to add/edit/delete system groups

System -> Administration -> Users and Groups

Users and Groups

Groups Tab -> Add Group…/Properties/Delete

How to automatic login into GNOME (not secure)

System -> Administration -> Login Window

Security Tab -> Enable Automatic Login (Checked)

Now choose a user from the drop-down menu.

How to allow more sudoers

sudo adduser a_username admin

How to change files/folders permissions

Right click on files/folders -> Properties

Permissions Tab -> Read/Write/Execute (Checked the permissions for Owner/Group/Others)

How to change files/folders ownership

sudo chown system_username /location_of_files_or_folders

If you want to change ownership of all containing files and folders recursively, use the -R option like this:

sudo chown -R system_username /location_of_files_or_folders

How to change files/folders group ownership

sudo chgrp system_groupname /location_of_files_or_folders

If you want to change group ownership of all containing files and folders recursively, use the -R option like this:

sudo chgrp -R system_username /location_of_files_or_folders

Would you like to buy me a beer?

If you enjoyed this post, make sure you subscribe to my RSS feed!

Random Posts

One Response to “Ubuntu Linux Tip of the Day - User Management”

  1. Brandon Cosby Says:

    After changing the ownership of my intall using the command “sudo chown -R brandon /”. Ubuntu won’t connect to the internet and many of my system apps, including “users and groups” say that they are starting, but then never appear. I am very new to the linux environment and am worried that I really screwed something up. Can you help?

Leave a Reply

Donate to CLiCK Computer Recycling

Matt Vapor