adm is not a user as you and me and * means you cannot use the account like that
type: e.g.
Because I dont kmow for 11.00 but 11.11 you can find a package to have the passwds in a shadow file ( the case of the box you see above... )
Otherwise it means that the passwd are what you see and as /etc/passwd is readable for all someone can copy it and has the hash..., the heavier alternative would be to turn on the trusted mode, but I dont advise that for people not having much knowlege about the plaform because you can quickly get into trouble like root account disabled etc... you need to know how the trusted mode works, where are the trusted DB and format and how to configure suitably the defaults... /etc/shadow is far easier though not as good...
this is how your /etc/passwd would look like after using the shadow module:
Hi all,
As all of us know that in /etc/passwd file the first field correspond to username
could any one tell me what is bin , damoen etc in the first field, and r they in
user field , what is nologin in the last column ?
root:x:0:0:root:/root:/bin/bash ... (4 Replies)
i am using apache2.0, and i used this command to create username/passwd:
./htpasswd -b passwd.file username password
is it away to translate password back to plaintext ?
for example, passwd.file contains:
username:HnennjvqsGaQs
i want to translate back to:
username:password (1 Reply)
Hi friends, i need a favour from u all i made a small change in home pc it is INTEL i had change /etc/passwd i just change the shell for the root instead of sh i kept bash and i had taken back up of the file /etc/passwd. now the problem is i am not able to log in as a root i got a error NO Shell... (10 Replies)
Hi Gurus,
I have one requirment..
I have written a script and it asks a registry passwd while performing some clearcase command. Now we are giving it manually. It's for one time run. We want to perform this for multiple times on multiple files throguh for loop.. means we need to pass the same... (3 Replies)
Hi Folks,
I have Solaris 10, latest release.
We have passwd aging set in /etc/defalut/passwd.
I have an account that passwd should never expire. Acheived by emptying associated users shadow file entries for passwd aging.
When I reset the users passwd using passwd command, it re enables... (3 Replies)
Hello All,
Can anyone post the default /etc/passwd file for AIX?
I would like to compare with an existing machine of mine and want to identify what are the default users that are created when the O/S is installed.
In other words I would like to see the system users in AIX. Not the ones created... (1 Reply)
Not an unix expert, I read a few pages on the web about passwd files, but I didn't find the answers I need about the last 8 lines of the passwd file I'm taking a look at.
I'm assuming their shortcuts to another file that may have the actual usernames of users on the system.
Please, any help... (1 Reply)
Hello,
I'm trying to recover my /etc/passwd file, but I can't make it work. Im doing the following:
1. Booting from cd-rom:
2. Mounting hard disk drive
3. Copying my passwd and shadow files to /a/etc/
4. Unmounting Hard disk:
5. Rebooting
6. Stopping my OS from booting ( by pressing... (11 Replies)
Discussion started by: alvaradogunner
11 Replies
LEARN ABOUT OPENDARWIN
passwd
PASSWD(1) BSD General Commands Manual PASSWD(1)NAME
passwd -- modify a user's password
SYNOPSIS
passwd [-i infosystem] [-l location] [name]
DESCRIPTION
Passwd changes the user's password. First, the user is prompted for their current password. If the current password is correctly typed, a
new password is requested. The new password must be entered twice to avoid typing errors.
The new password should be at least six characters long and not purely alphabetic. Its total length should be less than _PASSWORD_LEN (cur-
rently 128 characters) although some infosystems allow longer passwords. Numbers, upper case letters and meta characters are encouraged.
Once the password has been verified, passwd communicates the new password information to the authenticating host.
-i infosystem
This option specifies where the password update should be applied. Under Mac OS X 10.3, supported infosystems are:
netinfo
(default) The netinfo database containing the user's password. If no -l option is specified, the local netinfo database is
assumed.
file The local flat-files (included for legacy configurations).
nis A remote NIS server containing the user's password.
opendirectory
A system conforming to opendirectory APIs and supporting updates (including LDAP, netinfo, etc).
-l location
This option causes the password to be updated in the given location of the choosen infosystem. When changing only the local password,
pwd_mkdb(8) is used to update the password databases.
for netinfo,
location may be a domain name or server/tag
for file,
location may be a file name (/etc/master.passwd is the default)
for nis,
location may be a NIS domainname
for opendirectory,
location may be a directory node name
The super-user privilages are not required change a user's current password if only the local password is modified.
FILES
/etc/master.passwd The user database
/etc/passwd A Version 7 format password file
/etc/passwd.XXXXXX Temporary copy of the password file
SEE ALSO chpass(1), login(1), passwd(5), pwd_mkdb(8), vipw(8,) nicl(1)
Robert Morris and Ken Thompson, UNIX password security.
HISTORY
A passwd command appeared in Version 6 AT&T UNIX.
4th Berkeley Distribution June 6, 1993 4th Berkeley Distribution