On 30/08/2011 19:30, Mike Tancsa wrote:
Preferably in a non-interactive and scriptable way. Is it possible with
the base system tools?
0(ich10)# pw usermod testuser1 -w random
Password for 'testuser1' is: km.y0LScI3p1
0(ich10)# pw usermod testuser1 -w random
Password for 'testuser1' is: P5Rrhm
If the purpose is to make login unusable, starring the password is the
only 100% safe way...
On Tue, Aug 30, 2011 at 2:42 PM, Michael Sierchio wrote:
> That occurred to me, but it's a smaller alphabet. Probably doesn't
> matter if the purpose is to make login unusable.
>
> On Tue, Aug 30, 2011 a
That occurred to me, but it's a smaller alphabet. Probably doesn't
matter if the purpose is to make login unusable.
On Tue, Aug 30, 2011 at 11:40 AM, Randal L. Schwartz
wrote:
>> "Michael" == Michael Sierchio writes:
>
> Michael> dd if=/dev/random count=1 | tr -c "[:alnum:]"
> Michael> '0-9
On Tue, Aug 30, 2011 at 07:16:00PM +0100, Michael wrote:
> Hello,
>
> When adding a new user it is possible to assign a random generated
> password. But is it possible to assign a random password for already
> existing users?
>
> Preferably in a non-interactive and
> "Michael" == Michael Sierchio writes:
Michael> dd if=/dev/random count=1 | tr -c "[:alnum:]"
Michael> '0-9A-Za-z0-9A-Za-z0-9A-Za-a-z0-9A-Za-z'
Michael> will give you the right kind of characters to use, for example.
I prefer "openssl rand -base64 6" to get an 8-char password from a
fairly
hpass allows root to set the encrypted password directly
>>
>> chpass -p '$1$123456789$your-random-chars-here'
>>
>>
>> On Tue, Aug 30, 2011 at 11:16 AM, Michael wrote:
>>> Hello,
>>>
>>> When adding a new user it is possible to a
gt;
> chpass allows root to set the encrypted password directly
>
> chpass -p '$1$123456789$your-random-chars-here'
>
>
> On Tue, Aug 30, 2011 at 11:16 AM, Michael wrote:
>> Hello,
>>
>> When adding a new user it is possible to assign a random gene
Presumably you're doing this to prevent direct login?
chpass allows root to set the encrypted password directly
chpass -p '$1$123456789$your-random-chars-here'
On Tue, Aug 30, 2011 at 11:16 AM, Michael wrote:
> Hello,
>
> When adding a new user it is possible to a
On 8/30/2011 2:16 PM, Michael wrote:
> Hello,
>
> When adding a new user it is possible to assign a random generated
> password. But is it possible to assign a random password for already
> existing users?
0(ich10)# pw useradd testuser1 -w random
Password for 'testuser1
Hello,
When adding a new user it is possible to assign a random generated
password. But is it possible to assign a random password for already
existing users?
Preferably in a non-interactive and scriptable way. Is it possible with
the base system tools?
Michael
10 matches
Mail list logo