6.1.
|
How do I use Sudo? |
|
|
|
The root account is disabled in Ubuntu for security reasons. |
All the default configuration tools in Ubuntu already use sudo, so
they will prompt you for your password if needed.
-
To run other applications with sudo:
->->
In the Run program dialog box, type the command you wish to run in the
Run: editbox. In the As
user: list choose “root”, then click
OK.
You will be asked to enter your password (for your user account, not
root). enter your password, then click OK.
|
6.2.
|
How do I set/change/enable root user password? |
|
|
6.3.
|
How do I disable root user account? |
|
|
6.4.
|
How do I allow root user to login into GNOME? |
|
|
6.5.
|
How do I switch to root user in Terminal mode? |
|
-
sudo -s -H Password: <specify user password>
|
6.6.
|
How do I add/edit/delete users? |
|
->->
Select the Users tab. Use the Add
User ..., Properties or
Delete buttons to add, edit, remove user
accounts.
|
6.7.
|
How do I add/edit/delete system groups? |
|
->->
Select the Groups tab. Use the Add
Group ..., Properties,
Delete buttons to add, edit or delete system
groups.
|
6.8.
|
How do I automatic login into GNOME (not secure)? |
|
->->
Select the General tab. Check the
Login a user automatically on first bootup
checkbox option.
|
6.9.
|
How do I allow more people to administer the computer? |
|
Launch
->->
Select the user
Click on Properties
Click on the User Privileges tab
Check the Executing System Administration Tasks
checkbox
|
6.10.
|
How do I use “sudo” without prompt for password (not
secure)? |
|
-
export EDITOR=vim &&
sudo visudo
-
Find this line
...
system_username ALL=(ALL) ALL
...
-
Replace with the following line
system_username ALL=(ALL) NOPASSWD: ALL
Save the edited file (sample/sudoers_usesudowithoutpasswordprompt)
|
6.11.
|
How do I explicitly destroy the “sudo” session? |
|
|
6.12.
|
How do I change files/folders permissions? |
|
Right click the file or folder. Select the
option. Select the
Permissions tab. For the
Owner, Group and
Others check/uncheck the Read ,
Write , Execute options to set or
unset permissions.
|
6.13.
|
How do I change files/folders ownership? |
|
-
sudo chown system_username /location_of_files_or_folders
|
6.14.
|
How do I change files/folders group ownership? |
|
-
sudo chgrp system_groupname /location_of_files_or_folders
|