Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 371
  • Last Modified:

migrate /etc/shadow t

Hello,

I am using the free version of ESXi and have enabled the "unsupported" ssh access. I ( probably naiively ) to import some user accounts from a linux box by copying the entries from /etc/passwd and /etc/shadow to the esxi machine, but  it didn't work.
Is there a way to do this?
0
alpha-lemming
Asked:
alpha-lemming
  • 2
  • 2
2 Solutions
 
torimarCommented:
You also need the corresponding entries from /etc/groups and - maybe - /etc/gshadow.

If you want to login as a user, don't forget to create the required home directory as specified in /etc/passwd.
0
 
torimarCommented:
Sorry, typo: it needs to read: /etc/group
0
 
alpha-lemmingAuthor Commented:
Ah, I figured it out.
My source passwords are des-hashed but esxi uses md5.
I wonder if it's possible to make esxi use des?
0
 
alpha-lemmingAuthor Commented:
Oh, esxi DOES recognize des-hashed passwords. Yay!
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now