default password

Hello all,
When we do adduser or useradd at the shell,what is the default
password assigned for that new user?

Thanks
regards-
kaushal



-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
kaushal [ Di, 05 Oktober 2004 10:24 ] [ ID #72835 ]

Re: default password

Hi Kaushal

I don't know if there is (or which is) a default password assigned for a
new user created usind useradd, but after the definition of a new user (for
example "patata") you can change his password using the passwd command in
this way (being root!):

[root [at] obelix /usr/local/users]# passwd patata
Changing password for user patata.
New password: <PUT PASSWORD HERE>
Retype new password: <CONFIRM PASSWORD HERE>
passwd: all authentication tokens updated successfully.
[root [at] obelix /usr/local/users]#

Hope this can help you.

Pedro




05/10/2004 10:24
kaushal <kaushal [at] rocsys.com> [at] vger.kernel.org


Enviado por: linux-admin-owner [at] vger.kernel.org


Destinatarios: admin <linux-admin [at] vger.kernel.org>
CC:
Asunto: default password


Hello all,
When we do adduser or useradd at the shell,what is the default
password assigned for that new user?

Thanks
regards-
kaushal



-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html




-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
garcia_pan [ Di, 05 Oktober 2004 10:39 ] [ ID #72836 ]

Re: default password

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


> Hello all,
> When we do adduser or useradd at the shell,what is the default
> password assigned for that new user?

# useradd testing
# cat /etc/shadow | grep testing
testing:!:12696:0:99999:7:::

Here you can see that the password hash is '!'. This isn't a valid password
hash. You can't login with this password.

Lothar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBYl9iWOkN8SqY+ZkRAj40AJsHQ/7JiQGd9j0P72yky67yOaRfJACe K4x6
gamkyW5wtMIGhnMZ4bKbkCE=
=3VTM
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Lothar Braun [ Di, 05 Oktober 2004 10:46 ] [ ID #72837 ]

Re: default password

At 10/5/2004 01:54 PM +0530, kaushal asked:
>When we do adduser or useradd at the shell,what is the default password
>assigned for that new user?

man useradd (on RHES3) says:
-p passwd
The encrypted password, as returned by crypt(3). The default is
to disable the account.

--
Jeff Woods <kazrak+kernel [at] cesmail.net>


-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Jeff Woods [ Di, 05 Oktober 2004 10:57 ] [ ID #72838 ]

Re: default password

There is no default password. The account can not be logged into until it
is given a password.
----- Original Message -----
From: "kaushal" <kaushal [at] rocsys.com>
To: "admin" <linux-admin [at] vger.kernel.org>
Sent: Tuesday, October 05, 2004 4:24 AM
Subject: default password


> Hello all,
> When we do adduser or useradd at the shell,what is the default
> password assigned for that new user?
>
> Thanks
> regards-
> kaushal
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo [at] vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Adam Lang [ Di, 05 Oktober 2004 14:45 ] [ ID #72840 ]
Linux » gmane.linux.admin » default password

Vorheriges Thema: weirds traces
Nächstes Thema: Reset Byte Count?