Comments (3)
All good points.
Is there any reason why "passwd" should not be deprecated as "hashed_passwd" supports everything "passwd" does and more (i.e. setting password for existing users).
The main distinction is that passwd
is used directly by useradd
whereas hashed_passwd
invokes chpasswd
. While it is confusing and I wouldn't have created it this way from scratch, I do think that the distinction can be important for existing use cases. E.g., I launch an instance with user james:defaultpassword, then the user changes their password, then I snapshot the image and launch a new one, should that new user be able to login with their most recent credentials, or should they have their password reset?
from cloud-init.
I do think that the distinction can be important for existing use cases. E.g., I launch an instance with user james:defaultpassword, then the user changes their password, then I snapshot the image and launch a new one, should that new user be able to login with their most recent credentials, or should they have their password reset?
I guess the question is why is the password setting "special"? None of the other options that apply for existing users ("doas", "lock_passwd", "sudo", "ssh_authorized_keys", "ssh_redirect_user") have an alternative that only works for new users.
from cloud-init.
Yeah, good point. I'd be in favor of deprecating it.
from cloud-init.
Related Issues (20)
- [enhancement]: Implement ipv6-address-token / ip token set ::123 HOT 2
- DataSourceCloudstack: typo in 23.4.x HOT 5
- add an option to disable dhcpv6 on fallback HOT 13
- [enhancement]: rh_subscription module attribute org has the wrong schema HOT 2
- Fix ability to set DNS servers via OpenStack network_data.json
- Set L3 method of unused NetworkManager managed interfaces
- Warning in logs on EC2 in v6-only environment
- Seed not supported by DataSourceNoCloud when using a http-URL HOT 10
- [enhancement]: cloud-init does not provide a schema-compliant way to retain current `system_info` `package_mirrors` behaviour HOT 4
- [enhancement]: network interface discovery clean up
- cloud-init query produces no output with missing userdata files
- [enhancement]: mypy - validate jsonschema against type annotations
- [enhancement]: Schema validator run from `main_init` can produce confusing error messages HOT 8
- search domains missing in /etc/resolv.conf
- ubuntu/focal/24.2: Patch out ConditionEnvironment key in systemd/cloud-init-hotplugd.{service,socket} HOT 4
- [enhancement]: Distinguish between genuine schema errors and deprecated keys
- Ansible module doesn't find collections installed by the playbook HOT 3
- [enhancement]: document cloud.cfg values
- openbsd: the mtu in hostname files should be one a separate line
- azure: imds retry time() vs. monotonic() HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloud-init.