ioThinx 4530 Linux Manual
User Account Management
Switching to the Root Account
You can switch to root using sudo -i (or
commands from the
Click the following link for more information on the
NOTE
https://wiki.debian.org/sudo
ATTENTION
You might get the permission denied message when using pipe or redirect behavior with a non-root
account.
'sudo su –c'
You must use
Note: The single quotes around the full command are required.
Creating and Deleting User Accounts
You can use the
reference the main page of these commands to set relevant access privileges for the account. The following
example shows how to create a
home directory at
moxa@Moxa:~# sudo useradd -m -G sudo -s /bin/bash test1
To change the password for test1, use the
password to confirm the change.
moxa@Moxa:~# sudo passwd test1
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
To delete user test1, use the userdel command.
moxa@Moxa:~# sudo userdel test1
Disabling the Default User Account
ATTENTION
You should first create a user account before you disable the default account.
Use the passwd command to lock the default user account so the user moxa cannot log in.
root@Moxa:~# passwd –l moxa
Type the following command to unlock the user moxa:
root@Moxa:~# passwd –u moxa
sudo su
root
account.
to run the command instead of using >, <, >>, <<, etc.
useradd
userdel
and
commands to create and delete user accounts. Be sure to
test1
user in the
/home/test1:
). For security reasons, do not operate the
sudo
command.
sudo
group whose default login shell is
passwd
option along with the new password. Retype the
2-6
Getting Started
all
bash
and has
Need help?
Do you have a question about the ioThinx 4530 Series and is the answer not in the manual?