<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Create an additional 'root' privilege account for appliances in ExtremeCloud IQ- Site Engine Management Center</title>
    <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/create-an-additional-root-privilege-account-for-appliances/m-p/91934#M9612</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Would like to create an additional root privilege account, and have followed the process in this article:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://extremeportal.force.com/ExtrArticleDetail?an=000081611" target="_blank" rel="nofollow noreferrer noopener"&gt;https://extremeportal.force.com/ExtrArticleDetail?an=000081611&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Created a new account and run the following against the username&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;usermod -aG sudo flammia &lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Problem is it doesn't seem to give the same root privileges, for example when I try to access the directory /root I get access denied.&lt;BR /&gt;&lt;BR /&gt;The following details have been taken from&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;/etc/passwd &lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;root0:0:root:/root:/bin/bash &lt;/CODE&gt;&lt;BR /&gt;flammia&lt;BR /&gt;&lt;CODE&gt;1002:1002:,,,:/home/flammia:/bin/bash &lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Run the following command:&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;visudo &lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I see the following:&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;# User privilege specification root ALL=(ALL:ALL) ALL # Members of the admin group may gain root privileges %admin ALL=(ALL) ALL # Allow members of group sudo to execute any command %sudo ALL=(ALL:ALL) ALL &lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Next command&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;id flammia &lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;uid=1002(flammia) gid=1002(flammia) groups=1002(flammia),27(sudo) &lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;With that information, the account being in the 'sudo' group and privileges of "ALL=(ALL:ALL) ALL", shouldn't this account have access and equal privileges the same as root?&lt;BR /&gt;&lt;BR /&gt;This is an example of files being denied access:&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;find: ?/root?: Permission denied find: ?/etc/ppp/peers?: Permission denied find: ?/etc/chatscripts?: Permission denied find: ?/etc/audit?: Permission denied find: ?/etc/polkit-1/localauthority?: Permission denied find: ?/etc/ssl/private?: Permission denied find: ?/etc/lvm/backup?: Permission denied find: ?/etc/lvm/archive?: Permission denied find: ?/boot/lost+found?: Permission denied find: ?/var/cache/ldconfig?: Permission denied find: ?/var/spool/cron/crontabs?: Permission denied find: ?/var/spool/cron/atjobs?: Permission denied find: ?/var/spool/cron/atspool?: Permission denied find: ?/var/spool/rsyslog?: Permission denied find: ?/var/log/apache2?: Permission denied find: ?/var/log/audit?: Permission denied find: ?/var/log/setup/tmp?: Permission denied find: ?/var/lib/sudo?: Permission denied find: ?/var/lib/snmp/mib_indexes?: Permission denied find: ?/var/lib/polkit-1?: Permission denied find: ?/lost+found?: Permission denied find: ?/home/companyssh/.cache?: Permission denied find: ?/sys/kernel/debug?: Permission denied find: ?/sys/fs/pstore?: Permission denied find: ?/run/user/1001?: Permission denied find: ?/run/user/0?: Permission denied find: ?/run/sudo?: Permission denied find: ?/run/log/journal/4c685fdc806da42fe74eb721599b4a88?: Permission denied find: ?/run/lvm?: Permission denied find: ?/run/systemd/inaccessible?: Permission denied find: ?/run/lock/lvm?: Permission denied find: ?/usr/local/Extreme_Networks/NetSight/backup/netsight_06042019.sql?: Permission denied find: ?/usr/local/Extreme_Networks/NetSight/backup/netsight_25022019?: Permission denied find: ?/usr/local/Extreme_Networks/NetSight/backup/netsight_07042019.sql?: Permission denied find: ?/usr/local/Extreme_Networks/NetSight/backup/netsight_08042019.sql?: Permission denied find: ?/usr/local/Extreme_Networks/NetSight/upgrade/logs?: Permission denied find: ?/usr/local/Extreme_Networks/NetSight/services/mib_indexes?: Permission denied find: ?/usr/local/Extreme_Networks/NetSight/mysql/data/threatresponse?: Permission denied &lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Many thanks&lt;/P&gt;</description>
    <pubDate>Mon, 08 Apr 2019 17:14:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-04-08T17:14:06Z</dc:date>
    <item>
      <title>Create an additional 'root' privilege account for appliances</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/create-an-additional-root-privilege-account-for-appliances/m-p/91934#M9612</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Would like to create an additional root privilege account, and have followed the process in this article:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://extremeportal.force.com/ExtrArticleDetail?an=000081611" target="_blank" rel="nofollow noreferrer noopener"&gt;https://extremeportal.force.com/ExtrArticleDetail?an=000081611&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Created a new account and run the following against the username&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;usermod -aG sudo flammia &lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Problem is it doesn't seem to give the same root privileges, for example when I try to access the directory /root I get access denied.&lt;BR /&gt;&lt;BR /&gt;The following details have been taken from&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;/etc/passwd &lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;root0:0:root:/root:/bin/bash &lt;/CODE&gt;&lt;BR /&gt;flammia&lt;BR /&gt;&lt;CODE&gt;1002:1002:,,,:/home/flammia:/bin/bash &lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Run the following command:&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;visudo &lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I see the following:&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;# User privilege specification root ALL=(ALL:ALL) ALL # Members of the admin group may gain root privileges %admin ALL=(ALL) ALL # Allow members of group sudo to execute any command %sudo ALL=(ALL:ALL) ALL &lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Next command&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;id flammia &lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;uid=1002(flammia) gid=1002(flammia) groups=1002(flammia),27(sudo) &lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;With that information, the account being in the 'sudo' group and privileges of "ALL=(ALL:ALL) ALL", shouldn't this account have access and equal privileges the same as root?&lt;BR /&gt;&lt;BR /&gt;This is an example of files being denied access:&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;find: ?/root?: Permission denied find: ?/etc/ppp/peers?: Permission denied find: ?/etc/chatscripts?: Permission denied find: ?/etc/audit?: Permission denied find: ?/etc/polkit-1/localauthority?: Permission denied find: ?/etc/ssl/private?: Permission denied find: ?/etc/lvm/backup?: Permission denied find: ?/etc/lvm/archive?: Permission denied find: ?/boot/lost+found?: Permission denied find: ?/var/cache/ldconfig?: Permission denied find: ?/var/spool/cron/crontabs?: Permission denied find: ?/var/spool/cron/atjobs?: Permission denied find: ?/var/spool/cron/atspool?: Permission denied find: ?/var/spool/rsyslog?: Permission denied find: ?/var/log/apache2?: Permission denied find: ?/var/log/audit?: Permission denied find: ?/var/log/setup/tmp?: Permission denied find: ?/var/lib/sudo?: Permission denied find: ?/var/lib/snmp/mib_indexes?: Permission denied find: ?/var/lib/polkit-1?: Permission denied find: ?/lost+found?: Permission denied find: ?/home/companyssh/.cache?: Permission denied find: ?/sys/kernel/debug?: Permission denied find: ?/sys/fs/pstore?: Permission denied find: ?/run/user/1001?: Permission denied find: ?/run/user/0?: Permission denied find: ?/run/sudo?: Permission denied find: ?/run/log/journal/4c685fdc806da42fe74eb721599b4a88?: Permission denied find: ?/run/lvm?: Permission denied find: ?/run/systemd/inaccessible?: Permission denied find: ?/run/lock/lvm?: Permission denied find: ?/usr/local/Extreme_Networks/NetSight/backup/netsight_06042019.sql?: Permission denied find: ?/usr/local/Extreme_Networks/NetSight/backup/netsight_25022019?: Permission denied find: ?/usr/local/Extreme_Networks/NetSight/backup/netsight_07042019.sql?: Permission denied find: ?/usr/local/Extreme_Networks/NetSight/backup/netsight_08042019.sql?: Permission denied find: ?/usr/local/Extreme_Networks/NetSight/upgrade/logs?: Permission denied find: ?/usr/local/Extreme_Networks/NetSight/services/mib_indexes?: Permission denied find: ?/usr/local/Extreme_Networks/NetSight/mysql/data/threatresponse?: Permission denied &lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Many thanks&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2019 17:14:06 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/create-an-additional-root-privilege-account-for-appliances/m-p/91934#M9612</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-08T17:14:06Z</dc:date>
    </item>
  </channel>
</rss>

