Recent content by pengels | FWCloud Forum

Recent content by pengels

  1. P

    "Discover Interfaces" not working

    I created a new user following the digitalocean tutorial you sent with the same result.
  2. P

    "Discover Interfaces" not working

    Does it ssh in and then run the command or does it ssh in and run the command at the same time like I've been doing in the examples I've sent?
  3. P

    "Discover Interfaces" not working

    Adding the user to the wheel group resulted in the same sudo: no tty present and no askpass program specified as the sudo rules
  4. P

    "Discover Interfaces" not working

    I don't know if it would count as a feature request to allow NOPASSWD: support for unprivileged users to run commands via sudo, but if you were looking for features to add, there's at least one organization that would appreciate that one :)
  5. P

    "Discover Interfaces" not working

    I get these results depending on which sudo option I have: fwcloudapi ALL=(root) NOPASSWD: /usr/sbin/ip * This one works when I do ssh fwcloudapi@mysystem sudo ip address show. It asks me for my password for the login, but not for the sudo command. fwcloudapi ALL=(root) NOPASSWD: /usr/sbin/ip...
  6. P

    "Discover Interfaces" not working

    Is there a way to configure FWCloud to use the password to connect via SSH and then run the sudo command without waiting for a password prompt?
  7. P

    "Discover Interfaces" not working

    The -t flag works when I do it manually, but I am unsure how to configure that within FWCloud. root@myothersystem ~ $ ssh -t fwcloudapi@mysystem sudo ip address show fwcloudapi@mysystem's password: [sudo] password for fwcloudapi: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state...
  8. P

    "Discover Interfaces" not working

    I do not believe my organization's security team would allow such access, sorry.
  9. P

    "Discover Interfaces" not working

    I might be on to something: root@myothersystem ~ $ ssh fwcloudapi@mysystem sudo ip address show fwcloudapi@mysystem's password: sudo: no tty present and no askpass program specified This error was not present until I enabled asking for password with the sudo command. It wouldn't have bugged...
  10. P

    "Discover Interfaces" not working

    Thank you for all your help, Carles. I appreciate it a lot.
  11. P

    "Discover Interfaces" not working

    Previously I had sudo run with no password, but requiring a password for sudo didn't help. ~ » ssh fwcloudapi@mysytem fwcloudapi@mysytem's password: Last login: Wed Apr 28 13:13:04 2021 from myothersytem [fwcloudapi@mysytem ~]$ sudo ip a [sudo] password for fwcloudapi: 1: lo...
  12. P

    "Discover Interfaces" not working

    [pengels@myothersystem]~% ssh fwcloudapi@mysystem sudo /sbin/ip address show fwcloudapi@mysystem's password: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo...
  13. P

    "Discover Interfaces" not working

    I've added a sudo rule that allows any command with "sudo ip" such as "sudo ip a" or "sudo ip addr sh". I've also tried using an LDAP user instead of a local user without any luck. Thank you for all your patience so far.
  14. P

    "Discover Interfaces" not working

    Note that the "myothersystem" machine is the one with fwcloud installed on it.
  15. P

    "Discover Interfaces" not working

    I've verified that sudo ip a works with the user and that the user can log in to the system. fwclouduserthing@mysystem's password: Last login: Wed Apr 28 12:27:29 2021 from myothersystem [fwclouduserthing@mysystem ~]$ sudo ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN...
Top