How to allow non-root user to use ping without sudo
On some versions of Nodegrid OS, non-root users will get an error when trying to use ping without invoking a sudo shell:
[admin@nodegrid /]# shell
admin@nodegrid:~$ ping 10.0.0.1
ping: socket: Operation not permitted
To allow ping to be used in this circumstance, please follow these steps:
- Log in as admin
- Access the shell as root: shell sudo su -
- Update sysctl.conf: echo 'net.ipv4.ping_group_range = 0 2147483647' >> /etc/sysctl.conf
- Read in the updated file: sysctl -p /etc/sysctl.conf
Related Articles
How to Configure Active Directory or LDAP Authentication Provider
Version 0.1 (08 May 2018) Overview NodeGrid supports the authentication and authorization of users through different authentication providers, like LDAP. This guide will look at the different authentication options which are available with LDAP or AD ...
How to Recover/Reset Password of Admin or Root Users
Case #1 The admin password was changed and you don’t remember it, but root password is still the default. Log in as root via NodeGrid console port, type its default password root. At the shell prompt, type passwd admin and enter the new password. You ...
LTE Modem : Current Band, Cell tower and Non-cached signal quality Information
In Nodegrid, if one needs to run 4G and 5G LTE modem speed tests, mmcli command can be used with different parameters. One needs to use modem specific commands to retrieve the following information, 1) The current band the modem is connected to ...
User Group Permissions
Nodegrid allows you to create users and groups, and set the appropriate permissions for them. For example, user John belongs to group system-test, and the this group will be able to configure Nodegrid, track system information, and terminate session. ...
Can access list be configured to only allow specific network such as 10.0.0.0/8 to access the NodeGrid box?
Overview You have a complete firewall built in NodeGrid, based on iptables. The CLI and Web just wrap its configuration for consistency. In case you get locked out due to Drop rule, you can access and fix the configuration via console port (baud rate ...