7-mode user account with no password, only ssh

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

7-mode user account with no password, only ssh

BERNTSEN Basil

Hi folks,

 

Is it possible to create a user in 7-mode without specifying a password, or alternatively disallow password logins for a specific user? My goal is to create a user that must use an ssh key to run CLI commands.

 

Cheers!

 

Basil

************************************************************************* 
This message and any attachments (the "message") are confidential, intended solely for the addressee(s), and may contain legally privileged information.  Any unauthorized use or dissemination is prohibited. E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. Please visit http://sgasdisclosure.com for important information regarding SG Americas Securities, LLC (“SGAS”). Please visit http://swapdisclosure.sgcib.com for important information regarding swap transactions with SOCIETE GENERALE.  
*************************************************************************


_______________________________________________
Toasters mailing list
[hidden email]
http://www.teaparty.net/mailman/listinfo/toasters
Reply | Threaded
Open this post in threaded view
|

RE: 7-mode user account with no password, only ssh

Jordan Slingerland

I am not aware of a way.  Create a user with a random 32 character password copy the ssh keys in.  don’t tell the user the character password

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of BERNTSEN Basil
Sent: Friday, April 15, 2016 1:30 PM
To: [hidden email]
Subject: 7-mode user account with no password, only ssh

 

Hi folks,

 

Is it possible to create a user in 7-mode without specifying a password, or alternatively disallow password logins for a specific user? My goal is to create a user that must use an ssh key to run CLI commands.

 

Cheers!

 

Basil

************************************************************************* 
This message and any attachments (the "message") are confidential, intended solely for the addressee(s), and may contain legally privileged information.  Any unauthorized use or dissemination is prohibited. E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. Please visit http://sgasdisclosure.com for important information regarding SG Americas Securities, LLC (“SGAS”). Please visit http://swapdisclosure.sgcib.com for important information regarding swap transactions with SOCIETE GENERALE.  
*************************************************************************


_______________________________________________
Toasters mailing list
[hidden email]
http://www.teaparty.net/mailman/listinfo/toasters
Reply | Threaded
Open this post in threaded view
|

Re: 7-mode user account with no password, only ssh

André M. Clark
In reply to this post by BERNTSEN Basil
The whole procedure on how to do passwordless SSH is documented in the following KB article: https://kb.netapp.com/support/index?page=content&id=1011670&locale=en_US

This is the best way to accomplish what you are trying to do.

Regards,
André M. Clark
On Apr 15, 2016, at 13:30, BERNTSEN Basil <[hidden email]> wrote:

Hi folks,
 
Is it possible to create a user in 7-mode without specifying a password, or alternatively disallow password logins for a specific user? My goal is to create a user that must use an ssh key to run CLI commands.
 
Cheers!
 
Basil

************************************************************************* 
This message and any attachments (the "message") are confidential, intended solely for the addressee(s), and may contain legally privileged information.  Any unauthorized use or dissemination is prohibited. E-mails are susceptible to alteration. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. Please visit http://sgasdisclosure.com for important information regarding SG Americas Securities, LLC (“SGAS”). Please visit http://swapdisclosure.sgcib.com for important information regarding swap transactions with SOCIETE GENERALE.  
*************************************************************************

_______________________________________________
Toasters mailing list
[hidden email]
http://www.teaparty.net/mailman/listinfo/toasters


_______________________________________________
Toasters mailing list
[hidden email]
http://www.teaparty.net/mailman/listinfo/toasters