linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* default password
@ 2004-10-05  8:24 kaushal
  2004-10-05  8:39 ` garcia_pan
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: kaushal @ 2004-10-05  8:24 UTC (permalink / raw)
  To: admin

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

Thanks 
regards-
kaushal




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: default password
  2004-10-05  8:24 default password kaushal
@ 2004-10-05  8:39 ` garcia_pan
  2004-10-05  8:46 ` Lothar Braun
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: garcia_pan @ 2004-10-05  8:39 UTC (permalink / raw)
  To: linux-admin; +Cc: kaushal


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: <PUT PASSWORD HERE>
Retype new password: <CONFIRM PASSWORD HERE>
passwd: all authentication tokens updated successfully.
[root@obelix /usr/local/users]#

Hope this can help you.

Pedro




05/10/2004 10:24
kaushal <kaushal@rocsys.com>@vger.kernel.org


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


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





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: default password
  2004-10-05  8:24 default password kaushal
  2004-10-05  8:39 ` garcia_pan
@ 2004-10-05  8:46 ` Lothar Braun
  2004-10-05  8:57 ` Jeff Woods
  2004-10-05 12:45 ` Adam Lang
  3 siblings, 0 replies; 5+ messages in thread
From: Lothar Braun @ 2004-10-05  8:46 UTC (permalink / raw)
  To: linux-admin; +Cc: kaushal

-----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/7JiQGd9j0P72yky67yOaRfJACeK4x6
gamkyW5wtMIGhnMZ4bKbkCE=
=3VTM
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: default password
  2004-10-05  8:24 default password kaushal
  2004-10-05  8:39 ` garcia_pan
  2004-10-05  8:46 ` Lothar Braun
@ 2004-10-05  8:57 ` Jeff Woods
  2004-10-05 12:45 ` Adam Lang
  3 siblings, 0 replies; 5+ messages in thread
From: Jeff Woods @ 2004-10-05  8:57 UTC (permalink / raw)
  To: kaushal; +Cc: admin

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@cesmail.net> 



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: default password
  2004-10-05  8:24 default password kaushal
                   ` (2 preceding siblings ...)
  2004-10-05  8:57 ` Jeff Woods
@ 2004-10-05 12:45 ` Adam Lang
  3 siblings, 0 replies; 5+ messages in thread
From: Adam Lang @ 2004-10-05 12:45 UTC (permalink / raw)
  To: admin

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-10-05 12:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-05  8:24 default password kaushal
2004-10-05  8:39 ` garcia_pan
2004-10-05  8:46 ` Lothar Braun
2004-10-05  8:57 ` Jeff Woods
2004-10-05 12:45 ` Adam Lang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).