Community discussions

MikroTik App
 
mada3k
Long time Member
Long time Member
Topic Author
Posts: 697
Joined: Mon Jul 13, 2015 10:53 am
Location: Sweden

Request: add user with password hash

Sat Feb 08, 2020 3:33 pm

And preferably have it visible in configuration as well. Basically all platforms have this since ever.

Example:
/user add name=johndoe group=write hash-sha256=5d5fda4a9d1d0ee505baef750cdfe379dd0cb861

It's a must when you have multiple devices and you are mandated that all staff shall have their own logins, and you can't have cleartext passwords laying around. Yes, I know that RADIUS is possible, but RADIUS not always reachable.
Last edited by mada3k on Tue Feb 11, 2020 10:08 pm, edited 1 time in total.
 
User avatar
spacex
Frequent Visitor
Frequent Visitor
Posts: 64
Joined: Sun Aug 19, 2018 6:03 pm

Re: Request: add user with password hash

Sun Feb 09, 2020 1:55 am

yes i need the same thing too
 
OlofL
Member Candidate
Member Candidate
Posts: 113
Joined: Mon Oct 12, 2015 2:37 pm

Re: Request: add user with password hash

Thu Feb 20, 2020 10:55 am

Agree with this. Adding password with a hash is very critical, and a dealbreaker when automating big projects.
 
User avatar
bpwl
Forum Guru
Forum Guru
Posts: 2993
Joined: Mon Apr 08, 2019 1:16 am

Re: Request: add user with password hash

Fri Feb 21, 2020 12:55 am

Other vendors ( like Cisco, Fortinet, ...) will never allow to inject a user/password (hash) combination for an administrator. This would be a way to either alter or reset the admin password or to inject an user with admin rights and known password. Depending on the hashing technique (and "salt" ) the hash may/should be different for the same username/password combination on different devices, or even on the same device at different instances.
 
dmayan
newbie
Posts: 34
Joined: Sun Nov 10, 2013 9:28 pm

Re: Request: add user with password hash

Tue Jun 29, 2021 10:34 pm

+1 We need this ASAP.

thanks
 
Markusk
just joined
Posts: 1
Joined: Mon Aug 18, 2008 4:46 pm

Re: Request: add user with password hash

Wed Aug 25, 2021 11:57 am

A Feature we would urgently need

Best Regards

MK
 
lula
just joined
Posts: 1
Joined: Fri Apr 20, 2018 10:14 am

Re: Request: add user with password hash

Wed Aug 25, 2021 2:08 pm

+1 Would be a nice feature to manage user with automated scripts
 
changeip
Forum Guru
Forum Guru
Posts: 3830
Joined: Fri May 28, 2004 5:22 pm

Re: Request: add user with password hash

Wed Aug 25, 2021 5:49 pm

+1 yes!
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12001
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: Request: add user with password hash

Wed Aug 25, 2021 5:58 pm

If is not possible, let us export full user database (like certificate database, dude database and user-manager database)
forcefully aes-sha256 password protected
like the "backup" but only with user database.
You have ready 98% of code... simply add a flag on backup "export user only"
and add on restore "import user only"...
 
psztoch
just joined
Posts: 7
Joined: Sun Mar 05, 2023 7:13 pm

Re: Request: add user with password hash

Wed Dec 13, 2023 12:49 pm

+1 yes!
 
millenium7
Long time Member
Long time Member
Posts: 539
Joined: Wed Mar 16, 2016 6:12 am

Re: Request: add user with password hash

Fri Dec 15, 2023 5:44 am

It is stupid that this is still not a thing
If nothing else, hash is extremely useful for identifying vulnerable passwords. I.e. old/outdated/common passwords on devices that should be changed. This is EASILY checked if the hash exists in the config, very simple regex or any other comparator that scans config files. It is a bloody pain in the ass to do it any other way (having to write scripts that attempt logins, generating tons of error trash in the log file)

Ironically including the hash is actually far more secure for the above reason, also to check if a password has successfully changed via mass push, or was unintentionally altered at some point

The smart method is RADIUS logins for all users, monitoring platforms etc and visible hashes for local users. But monitoring/management platforms are gimped without the ability to show hashes of user accounts. FFS mikrotik pull your finger out and include this

Who is online

Users browsing this forum: GoogleOther [Bot], TeWe and 91 guests