Change user name "admin-nas"

Change user name "admin-nas"

Postby jgracia » Wed Feb 27, 2019 7:16 am

Hi,
By default the admin user name is "admin-nas" is possible modify this name?
jgracia
 
Posts: 6
Joined: Mon Nov 12, 2018 4:44 pm

Re: Change user name "admin-nas"

Postby fvdw » Wed Feb 27, 2019 9:22 am

Hi

This is not possible yet in fvdw-sl 17-0 but it will be possible in version fvdw-sl-18-0 to be released in coming months
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Change user name "admin-nas"

Postby Oschy » Mon May 13, 2019 7:56 pm

jgracia wrote:Hi,
By default the admin user name is "admin-nas" is possible modify this name?

Change admin-nas to anything else:

Edit this line of /etc/inc/global_defs.inc
Code:
//ADMIN NAME
define('ADMIN','admin-nas'); //change here the 'admin-nas' name
Check carefully its syntax (quote, semicolon,...)

and restart the NAS to update the web config files

Regards

Oschy
Oschy
Donator VIP
Donator VIP
 
Posts: 5
Joined: Tue Mar 19, 2013 6:04 pm

Re: Change user name "admin-nas"

Postby jgracia » Thu Jun 06, 2019 11:48 am

Oschy wrote:
jgracia wrote:Hi,
By default the admin user name is "admin-nas" is possible modify this name?

Change admin-nas to anything else:

Edit this line of /etc/inc/global_defs.inc
Code:
//ADMIN NAME
define('ADMIN','admin-nas'); //change here the 'admin-nas' name
Check carefully its syntax (quote, semicolon,...)

and restart the NAS to update the web config files

Regards

Oschy


It works!!!
Thanks Oschy :applause
jgracia
 
Posts: 6
Joined: Mon Nov 12, 2018 4:44 pm

Re: Change user name "admin-nas"

Postby Jocko » Tue Jul 09, 2019 1:22 pm

This trick is now useless with version 18.0 (you can set a custom login via the firmware web-interface) and must not be used
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France


Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: No registered users and 8 guests