06-09-2009
Thanks for reply.
But /etc/login.defs only contain " Password aging control" information.
- avklinux
10 More Discussions You Might Find Interesting
1. Linux
Could anyone help i have a question that i have a problem with for my home work it is,
How do i change file permissions in a command line enviromet
thanx (1 Reply)
Discussion started by: Cube3k
1 Replies
2. Programming
Hi to all,
I need in Microsoft C++ to IDENTIFY unix files
which are LINKS.
I use CFTPFILEFIND class.
Thanks
:-)
.:rolleyes: (0 Replies)
Discussion started by: mizrachi
0 Replies
3. Shell Programming and Scripting
Hello ,
I am stuck out in a part of my script, though I am trying it through a script of loops but i emphasis on having a short code :
Input file has Attribute values changing with time
Date Monday October 30 10:22:56 IST 2006
object values references Date ... (8 Replies)
Discussion started by: er_aparna
8 Replies
4. Solaris
Hi all ,
plz tell the equivalent command of chattr ( linux ) in solaris? (4 Replies)
Discussion started by: saurabh84g
4 Replies
5. Linux
Hi,
I'm using scli (Command line utility) to retrieve the information about qlogic HBA and I want to redirect the information to text file.
* While execution I'm getting the following warning "Unable to get terminal attribute!"
How to avoid that ?
because of this "Unable to get terminal... (3 Replies)
Discussion started by: shausy
3 Replies
6. Solaris
When I modify the file attributes of files and run a ls -l to view the changes everything looks correct, however when I run the init 6 to reboot the server the file attributes devert back to the origininal read only permissions. Any help would be appreciated (2 Replies)
Discussion started by: jimcz2it
2 Replies
7. UNIX for Dummies Questions & Answers
I'm using xml_grep command to get the value of different tags in a xml-file.
No i also need the value of an attribute in a tag.
Can I use xml_grep for this? Does anybody know how?
ex. :
<Name xmlns:xsi="http://www.w3.org/2001/XMLinst" xsi:spaceSchema="Name_5879.xsd">
...
</Name>
I... (1 Reply)
Discussion started by: pistach
1 Replies
8. Red Hat
Hi Linux Experts,
I am using RHEL 6.4, on checking I identified some files ends with the file attribute like dot (.) at the end. Whereas, I checked with the same level of other servers and I don't identify dot(.) at the end of file attribute. Why is it so? is there any meaning for it.
... (3 Replies)
Discussion started by: gsiva
3 Replies
9. Shell Programming and Scripting
Hi,
i want to list all system processes showing the attributes pid, user name, cpu consumption, and the difference between the resident memory and the swap memory needed to stock the process in case of suspending it.
i have two questions, the resident memory is the attribute size i think,... (4 Replies)
Discussion started by: Eskizoide
4 Replies
10. Forum Support Area for Unregistered Users & Account Problems
I was unable to login and so used the "Forgotten Password' process. I was sent a NEWLY-PROVIDED password and a link through which my password could be changed. The NEWLY-PROVIDED password allowed me to login.
Following the provided link I attempted to update my password to one of my own... (1 Reply)
Discussion started by: Rich Marton
1 Replies
pwconv(1M) System Administration Commands pwconv(1M)
NAME
pwconv - installs and updates /etc/shadow with information from /etc/passwd
SYNOPSIS
pwconv
DESCRIPTION
The pwconv command creates and updates /etc/shadow with information from /etc/passwd.
pwconv relies on a special value of 'x' in the password field of /etc/passwd. This value of 'x' indicates that the password for the user is
already in /etc/shadow and should not be modified.
If the /etc/shadow file does not exist, this command will create /etc/shadow with information from /etc/passwd. The command populates
/etc/shadow with the user's login name, password, and password aging information. If password aging information does not exist in
/etc/passwd for a given user, none will be added to /etc/shadow. However, the last changed information will always be updated.
If the /etc/shadow file does exist, the following tasks will be performed:
Entries that are in the /etc/passwd file and not in the /etc/shadow file will be added to the /etc/shadow file.
Entries that are in the /etc/shadow file and not in the /etc/passwd file will be removed from /etc/shadow.
Password attributes (for example, password and aging information) that exist in an /etc/passwd entry will be moved to the corre-
sponding entry in /etc/shadow.
The pwconv command can only be used by the super-user.
FILES
/etc/opasswd
/etc/oshadow
/etc/passwd
/etc/shadow
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
passwd(1), passmgmt(1M), usermod(1M), passwd(4), attributes(5)
DIAGNOSTICS
pwconv exits with one of the following values:
0 SUCCESS.
1 Permission denied.
2 Invalid command syntax.
3 Unexpected failure. Conversion not done.
4 Unexpected failure. Password file(s) missing.
5 Password file(s) busy. Try again later.
6 Bad entry in /etc/shadow file.
SunOS 5.10 9 Mar 1993 pwconv(1M)