# \[FX30 Cat1\] Switch to root user without asking password

**URL:** <https://forum.sierrawireless.com/t/fx30-cat1-switch-to-root-user-without-asking-password/24112>\
**Category:** FX30\
**Created:** [June 28, 2021, 3:00pm UTC](https://forum.sierrawireless.com/t/fx30-cat1-switch-to-root-user-without-asking-password/24112 "2021-06-28T15:00:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![demathos](https://avatars.discourse-cdn.com/v4/letter/d/dec6dc/32.png) [@demathos](https://forum.sierrawireless.com/u/demathos)\
**Post date:** [June 28, 2021, 3:00pm UTC](https://forum.sierrawireless.com/t/fx30-cat1-switch-to-root-user-without-asking-password/24112/1 "2021-06-28T15:00:43Z")

</div>

Hi everyone,

I have trouble using adduser command:

- I set a password to root account (SSH asks me the password)
- I created a new user with password using: `adduser toto`
- When I try to switch to root account from this new user using `su` command it gives me a root shell access without asking root password!

Did someone face the issue?

Thanks.

---

<div class="post-metadata">

**Author:** ![switch](https://avatars.discourse-cdn.com/v4/letter/s/ee59a6/32.png) [@switch](https://forum.sierrawireless.com/u/switch)\
**Post date:** [July 5, 2021, 9:26am UTC](https://forum.sierrawireless.com/t/fx30-cat1-switch-to-root-user-without-asking-password/24112/3 "2021-07-05T09:26:40Z")

</div>

Hi @demathos

> [@demathos](#):
>
> I set a password to root account (SSH asks me the password)

Please share how you set the password for the root account.

---

<div class="post-metadata">

**Author:** ![demathos](https://avatars.discourse-cdn.com/v4/letter/d/dec6dc/32.png) [@demathos](https://forum.sierrawireless.com/u/demathos)\
**Post date:** [July 5, 2021, 9:52am UTC](https://forum.sierrawireless.com/t/fx30-cat1-switch-to-root-user-without-asking-password/24112/4 "2021-07-05T09:52:49Z")

</div>

Hi @switch,

I set root password using `passwd` command directly from the root account.

I actually found a bad solution by editing the `/etc/passwd` file and adding an `x` inside the password field corresponding to root account because it was missing by default:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/f/fbb42ca592733c414534b18e4adfcd451255d6ff.png)

Did you know why the `x` which references the `/etc/shadow` file is missing from password field even if I set a root password using `passwd` command?  
Thanks.
