cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Former Member
Not applicable
Report Inappropriate Content
Message 1 of 9

How to add user using command line (ssh)

Jump to solution

hi, i need add a user with admin privilege, for the management.

thank's.

1 Solution

Accepted Solutions
kschwarz
McAfee Retired
McAfee Retired
Report Inappropriate Content
Message 6 of 9

Re: How to add user using command line (ssh)

Jump to solution

To update the routes, please use the UI.

To restart services from the UI you can use Trobuleshooting > Appliancename > System tools

Enter the service name and press "service restart" button (works in 7.6.2.x and 7.7.)

Kind Regards,

Katharina

View solution in original post

8 Replies
smasnizk
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 2 of 9

Re: How to add user using command line (ssh)

Jump to solution

This won't be supported, please use UI to create and maintain users and their privileges.

-Sergej

Best Regards,
Sergej


If you find this post useful, Please give it a Kudos! Also, Please don't forget to select "Accept as a solution" if this reply resolves your query!
Former Member
Not applicable
Report Inappropriate Content
Message 3 of 9

Re: How to add user using command line (ssh)

Jump to solution

hi,  i can has a other user for management by command line?.   it´s i want

smasnizk
McAfee Employee
McAfee Employee
Report Inappropriate Content
Message 4 of 9

Re: How to add user using command line (ssh)

Jump to solution

What do management expect to see on CLI?

All administrative tasks for management or Administrator needs to be done via UI. Creating of additional user for CLI don't make any sense to me.

-Sergej

Best Regards,
Sergej


If you find this post useful, Please give it a Kudos! Also, Please don't forget to select "Accept as a solution" if this reply resolves your query!
Former Member
Not applicable
Report Inappropriate Content
Message 5 of 9

Re: How to add user using command line (ssh)

Jump to solution

I want a user who, through the command line, can for example: stop or start services, update the routing tables, etc.

but other than the root user.

regards,

kschwarz
McAfee Retired
McAfee Retired
Report Inappropriate Content
Message 6 of 9

Re: How to add user using command line (ssh)

Jump to solution

To update the routes, please use the UI.

To restart services from the UI you can use Trobuleshooting > Appliancename > System tools

Enter the service name and press "service restart" button (works in 7.6.2.x and 7.7.)

Kind Regards,

Katharina

View solution in original post

Former Member
Not applicable
Report Inappropriate Content
Message 7 of 9

Re: How to add user using command line (ssh)

Jump to solution

ok, thanks very much.

krit
Level 10
Report Inappropriate Content
Message 8 of 9

Re: How to add user using command line (ssh)

Jump to solution

Greetings Katharina,

Although the requestor accepted the proposed workaround, the question was not quite answered.

Is there any way to create additional cli users ( ssh ), yes or no?

The need for multiple cli users is similar to the need for the root user, for example for troubleshooting purposes.

Currently, we are in a customer's environment, where we need to take troubleshooting actions on our responsibility and we cannot use the root account.

Thank you in advance.

Best Regards,

Kostas

btlyric
Level 12
Report Inappropriate Content
Message 9 of 9

Re: How to add user using command line (ssh)

Jump to solution

You ought to be able to use useradd at the command line while logged in as root.

Add the users to group wheel (or create a dedicated admin group) and then use visudo to modify the configuration accordingly.

The lines of interest are:

## Allows people in group wheel to run all commands
%wheel ALL=(ALL)       ALL

You could then modify sshd_config and disable root login via SSH.

PermitRootLogin no

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use the McAfee Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from McAfee experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by McAfee employees.
Join the Community
Join the Community