Splash
August 29, 2018, 12:55pm
1
If you add a user to the default “full” group, the user is able to upload new firmware, download backups etc. If you create a new group with all permissions ticked, the user is unable to upload new firmware or download backup files. Comparing the 2 groups, there are no options that are different through the UI, the only thing I can suspect is there are hidden permissions that have been attached to the original admin group called full.
This presents a problem where a new group is created for administrators that login through radius and don’t use a local account.
Why would there be a difference between the 2 groups?
strods
August 30, 2018, 11:06am
2
Please provide output of “/user export” command. There are no hidden permissions that would differ default user and/or group from ones added later on.
normis
August 30, 2018, 11:09am
3
I am unable to repeat the issue. A new group with all checkboxes, then a user assigned to this new group, can do all the mentioned things.
Splash
August 30, 2018, 11:38am
4
/user group
add name=support policy=ssh,read,test,winbox,api,tikapp,!local,!telnet,!ftp,!reboot,!write,!policy,!password,!web,!sniff,!sensitive,!romon,!dude
add name=admin policy=local,telnet,ssh,reboot,read,write,policy,test,winbox,password,sniff,sensitive,api,tikapp,!ftp,!web,!romon,!dude
/user
add comment=“system default user” group=full name=admin
/user aaa
set accounting=no default-group=support exclude-groups=full,read,write use-radius=yes
Users are authenticated using Radius and placed in to the group admin
normis
August 30, 2018, 11:43am
5
You have set default-group support and you can’t set group with RADIUS itself, as far as I know (not for system users).
Splash
August 30, 2018, 11:46am
7
Correct, but through RADIUS auth, you can set the group the user must be attached to. It works for all other admin functions, ie write access.
splash Cleartext-Password := “password”
Mikrotik-Group = “admin”
Hi,
You said that you had assigned all permissions to the admin group, but your export showed otherwise:
add name=admin policy=local,telnet,ssh,reboot,read,write,policy,test,winbox,password,sniff,sensitive,api,tikapp,!ftp,!web,!romon,!dude
So the admin group has all policies enabled except ftp, web, romon, and dude. I think the ftp permission is required to read/write files.
Splash
September 6, 2018, 11:54am
11
Yup, interesting to note that ftp permission may be required for winbox to upload a file. I will definitely check and confirm this.
Splash
September 6, 2018, 11:58am
12
Thanks, it seems you are correct, Winbox requires the FTP permission to upload files to the device.