06-09-2006
Take care with vi and files like /etc/shadow and etc/password - they're sooo easy to break! If you've got a modern unix then "lsuser ALL" will give you a nice (safe) listing.
cheers
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm getting curious about making some of my own commands. I know this is realtively easy with script files and combining various unix standard commands. Is there a way to view the code that is used for these standard commands..i.e. how do I see what code is used for the 'join' command.
I'm... (2 Replies)
Discussion started by: peter.herlihy
2 Replies
2. UNIX for Dummies Questions & Answers
I am new to unix. I want to know if there is any tool or plugin available for AIX unix system through which a user can see the TIFF images. Below are the details:
Our application runs on AIX Unix box. The users log in to the application through telnet clients running on Windows 2000/XP systems.... (1 Reply)
Discussion started by: erpankajgupta
1 Replies
3. Programming
hi ,
How to view the contents of a "c" program symbol table information in unix. (1 Reply)
Discussion started by: saravanan_nitt
1 Replies
4. UNIX for Advanced & Expert Users
Guys,
Could anyone let me know, how we can see the contents of .tar file without extracting it.
I know the extracting and combine options
Regards (3 Replies)
Discussion started by: sdosanjh
3 Replies
5. UNIX for Advanced & Expert Users
Hi !
I have a FTP site, where I softlinked my server log file.
Now I want to view the logs in IE as I do in unix
Some kind of free tool should be there, Can somebody provide me a pointer.
Thanks. (0 Replies)
Discussion started by: dashok.83
0 Replies
6. Shell Programming and Scripting
Dear All,
I want to know all users & group history in one file, for root terminal through shell or any other option (5 Replies)
Discussion started by: kpoobathi
5 Replies
7. Shell Programming and Scripting
Hi to all,
1- I'm trying to open a certain file in unix with the tool KEA!
2- i get to the correct folder with the CD command
3- Once in the correct directory i try the following unix command:
vi NameOfFile.Z
4- Yes those files finish with a .Z
5 - I get something in the KEA!... (3 Replies)
Discussion started by: Sanchoniathon
3 Replies
8. UNIX for Advanced & Expert Users
Hi I am using UNIX .
I do not have root acces .
How do i check different users cronjobs .Is there any command to check using mutiple users in one shot
With user : AAA i can get all cronjob using crontab -l AAA
similarly with user BBB i can get all cron entries . For that i need to login as... (5 Replies)
Discussion started by: Perlbaby
5 Replies
pwconv(8) System Manager's Manual pwconv(8)
NAME
pwconv - convert to shadow account
SYNOPSIS
pwconv [-P path]
DESCRIPTION
pwconv installs and updates /etc/shadow with information from /etc/passwd. It relies on the special password 'x' in the password field of
the account. This value indicates that the password for the user is already in /etc/shadow and should not be modified.
If /etc/shadow does not exist, pwconv creates this file, moves the user password to it and creates default aging informations with the help
of the values of PASS_MIN_DAYS, PASS_MAX_DAYS and PASS_WARN_AGE from /etc/login.defs. The password field in /etc/passwd is replaced with
the special character 'x'.
If the /etc/shadow does exist, entries that are in the /etc/passwd file and not in the /etc/shadow file are added to the /etc/shadow file.
Accounts, which only exist in /etc/passwd, are added to /etc/shadow. Entries that are in /etc/shadow and not in /etc/passwd are removed
from /etc/shadow. All passwords from /etc/passwd are moved to /etc/shadow and replaced with the special character 'x'.
pwconv can be used for initial conversion and for updates later.
OPTIONS
-P, --path path
The passwd and shadow files are located below the specified directory path. pwconv will use this files, not /etc/passwd and
/etc/shadow.
FILES
passwd - user account information
shadow - shadow user account information
SEE ALSO
passwd(1), login.defs(5), passwd(5), shadow(5), pwck(8), pwunconv(8)
AUTHOR
Thorsten Kukuk <kukuk@suse.de>
pwdutils January 2004 pwconv(8)