default password

default password

am 05.10.2004 10:24:52 von kaushal

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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: default password

am 05.10.2004 10:39:22 von garcia_pan

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@obelix /usr/local/users]# passwd patata
Changing password for user patata.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.
[root@obelix /usr/local/users]#

Hope this can help you.

Pedro




05/10/2004 10:24
kaushal @vger.kernel.org


Enviado por: linux-admin-owner@vger.kernel.org


Destinatarios: admin
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@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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: default password

am 05.10.2004 10:46:21 von Lothar Braun

-----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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: default password

am 05.10.2004 10:57:34 von Jeff Woods

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


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

Re: default password

am 05.10.2004 14:45:26 von Adam Lang

There is no default password. The account can not be logged into until it
is given a password.
----- Original Message -----
From: "kaushal"
To: "admin"
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@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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html