User Account Management; Switching To The Root Account; Creating And Deleting User Accounts; Disabling The Default User Account - Moxa Technologies ioThinx 4530 Series User Manual

Hide thumbs Also See for ioThinx 4530 Series:
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ioThinx 4530 Series and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Iothinx 4533-lx series

Table of Contents