Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Creating local users when using Remote Authentication and unavailable login

Yo_D1
F5 Employee
F5 Employee

The Remote Authentication is unavailable, so I can't login.

How to enable root login as local mode?

Yo_D1_0-1686532196175.png

 

1 ACCEPTED SOLUTION

Hi @Yo_D1 , 

Try to Reset it from Single user mode during booting up. 
https://my.f5.com/manage/s/article/K35811337

https://my.f5.com/manage/s/article/K23220345

 

_______________________
Regards
Mohamed Kansoh

View solution in original post

10 REPLIES 10

Paulius
MVP
MVP

@Yo_D1 I was under the impression that unless they have been disabled the root and admin local users should always function even when remote authentication is responding or down. This article could be related to your issue.

https://community.f5.com/t5/technical-forum/root-password-recovery-on-ve-with-remote-authentication/...

Thx. I found I didn't mount the /dev/mapper/xxxx-xxx-xxxx-xx._config .

After mounted it to /sysroot/config , then I can execute "passwd root"

Yo_D1
F5 Employee
F5 Employee

/config  not mounted cause that error. 

Use "mount -o remount,rw  /dev/mapper/vg--db--vda-set.1.xxxx /sysroot/xxx  " --"chroot /sysroot"  

Then "passwd root" is ok.   But after reset password and login , still failed.

Yo_D1_0-1686555244188.png

root can login from local.   

 

 

Seems reset the root password successfully , but still can't login from console.

I'm trying figure out

 

Hi @Yo_D1 , 

Try to Reset it from Single user mode during booting up. 
https://my.f5.com/manage/s/article/K35811337

https://my.f5.com/manage/s/article/K23220345

 

_______________________
Regards
Mohamed Kansoh

Thanks, Problem solved

Great !! , you're most welcome @Yo_D1 🙂

_______________________
Regards
Mohamed Kansoh

whisperer
Cumulonimbus
Cumulonimbus

Silly question, but did you try to update the password via TMSH?

- tmsh modify auth password root

- tmsh save sys config

 

I didn't because I can't login 

Saw your logged in screenshot, but didnt realize you were in single user mode. My bad! Yeah, I dont think all of the correct mounting is done at that point to support TMSH commands. As @Paulius suggested, this final target link (https://my.f5.com/manage/s/article/K35811337) may be what you are after here.

yes, you are right.