Re: [shlug] linux系统密码修改方案

2022-12-19 Thread Wensheng Xie
这个就不再随机了吧?
在 2022-12-19星期一的 08:17 +,wang feora写道:
> hi,all
>  
> 大家有没有搞过类似场景,服务器系统根据用户名、主机名、修改密码的时间这个三个因子采用椭圆非对称加密算法生成随机密码,使用工具输入三个因子就
> 可以获得生成的随机密码。比如后面接root@主机名_202212就可以获得随机生成的密码。
> 可否给点实现的思路,谢谢!

-- 
-- You received this message because you are subscribed to the Google Groups 
Shanghai Linux User Group group. To post to this group, send email to 
shlug@googlegroups.com. To unsubscribe from this group, send email to 
shlug+unsubscr...@googlegroups.com. For more options, visit this group at 
https://groups.google.com/d/forum/shlug?hl=zh-CN
--- 
您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”群组。
要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到shlug+unsubscr...@googlegroups.com。
要在网络上查看此讨论,请访问 
https://groups.google.com/d/msgid/shlug/AS1P250MB0605FADD8CE6F871232E963BB0E59%40AS1P250MB0605.EURP250.PROD.OUTLOOK.COM。


signature.asc
Description: This is a digitally signed message part


Re: [shlug] linux系统密码修改方案

2022-12-19 Thread Shell Xu
Is this what you are looking for?
https://www.lesspass.com

On Mon, Dec 19, 2022 at 4:35 PM Keine Neco  wrote:

>
> 这个需求不是很懂,但是如果只是想要这种基于某些输入的随机密码的话,可以考虑sha,把你要的入参排排好,之后直接对他sha就好了,最后取sha中的特定部分就行。
>
> wang feora  于2022年12月19日周一 16:18写道:
>
>> hi,all
>>   大家有没有搞过类似场景,服务器系统根据用户名、主机名、修改密码的时间这个三个因子采用
>> 椭圆非对称加密算法生成随机密码,使用工具输入三个因子就可以获得生成的随机密码。比如后面接root@主机名_202212就可以获得随机生成的密码。
>> 可否给点实现的思路,谢谢!
>>
>> --
>> -- You received this message because you are subscribed to the Google
>> Groups Shanghai Linux User Group group. To post to this group, send email
>> to shlug@googlegroups.com. To unsubscribe from this group, send email to
>> shlug+unsubscr...@googlegroups.com. For more options, visit this group
>> at https://groups.google.com/d/forum/shlug?hl=zh-CN
>> ---
>> 您收到此邮件是因为您订阅了Google网上论坛上的“Shanghai Linux User Group”群组。
>> 要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到shlug+unsubscr...@googlegroups.com。
>> 要在网络上查看此讨论,请访问
>> https://groups.google.com/d/msgid/shlug/CAP9hj2K90oOwvgtN9a%2B4zNR8xgK4Dgmw3159X7v9inAD_DUikQ%40mail.gmail.com
>> 
>> 。
>>
> --
> -- You received this message because you are subscribed to the Google
> Groups Shanghai Linux User Group group. To post to this group, send email
> to shlug@googlegroups.com. To unsubscribe from this group, send email to
> shlug+unsubscr...@googlegroups.com. For more options, visit this group at
> https://groups.google.com/d/forum/shlug?hl=zh-CN
> ---
> 您收到此邮件是因为您订阅了Google网上论坛上的“Shanghai Linux User Group”群组。
> 要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到shlug+unsubscr...@googlegroups.com。
> 要在网络上查看此讨论,请访问
> https://groups.google.com/d/msgid/shlug/CAK8d3PSMtE_PO3iSJ5ugtat_s9J5oPW_adrab607nqJeFEkJ1Q%40mail.gmail.com
> 
> 。
>


-- 
彼節者有間,而刀刃者無厚;以無厚入有間,恢恢乎其於游刃必有餘地矣。
blog: http://shell909090.org/
twitter: @shell909090 
about.me: http://about.me/shell909090

-- 
-- You received this message because you are subscribed to the Google Groups 
Shanghai Linux User Group group. To post to this group, send email to 
shlug@googlegroups.com. To unsubscribe from this group, send email to 
shlug+unsubscr...@googlegroups.com. For more options, visit this group at 
https://groups.google.com/d/forum/shlug?hl=zh-CN
--- 
您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”群组。
要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到shlug+unsubscr...@googlegroups.com。
要在网络上查看此讨论,请访问 
https://groups.google.com/d/msgid/shlug/CADexTbwrn4XPgXqFNKjyT_TiRxK-BDqFyGGDS%3DoMAie%3DsyCYbQ%40mail.gmail.com。


Re: [shlug] linux系统密码修改方案

2022-12-19 Thread Keine Neco
这个需求不是很懂,但是如果只是想要这种基于某些输入的随机密码的话,可以考虑sha,把你要的入参排排好,之后直接对他sha就好了,最后取sha中的特定部分就行。

wang feora  于2022年12月19日周一 16:18写道:

> hi,all
>   大家有没有搞过类似场景,服务器系统根据用户名、主机名、修改密码的时间这个三个因子采用
> 椭圆非对称加密算法生成随机密码,使用工具输入三个因子就可以获得生成的随机密码。比如后面接root@主机名_202212就可以获得随机生成的密码。
> 可否给点实现的思路,谢谢!
>
> --
> -- You received this message because you are subscribed to the Google
> Groups Shanghai Linux User Group group. To post to this group, send email
> to shlug@googlegroups.com. To unsubscribe from this group, send email to
> shlug+unsubscr...@googlegroups.com. For more options, visit this group at
> https://groups.google.com/d/forum/shlug?hl=zh-CN
> ---
> 您收到此邮件是因为您订阅了Google网上论坛上的“Shanghai Linux User Group”群组。
> 要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到shlug+unsubscr...@googlegroups.com。
> 要在网络上查看此讨论,请访问
> https://groups.google.com/d/msgid/shlug/CAP9hj2K90oOwvgtN9a%2B4zNR8xgK4Dgmw3159X7v9inAD_DUikQ%40mail.gmail.com
> 
> 。
>

-- 
-- You received this message because you are subscribed to the Google Groups 
Shanghai Linux User Group group. To post to this group, send email to 
shlug@googlegroups.com. To unsubscribe from this group, send email to 
shlug+unsubscr...@googlegroups.com. For more options, visit this group at 
https://groups.google.com/d/forum/shlug?hl=zh-CN
--- 
您收到此邮件是因为您订阅了 Google 网上论坛的“Shanghai Linux User Group”群组。
要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到shlug+unsubscr...@googlegroups.com。
要在网络上查看此讨论,请访问 
https://groups.google.com/d/msgid/shlug/CAK8d3PSMtE_PO3iSJ5ugtat_s9J5oPW_adrab607nqJeFEkJ1Q%40mail.gmail.com。