Home
Main website
Display Sidebar
Hide Ads
Recent Changes
View Source:
grpunconv(8)
Edit
PageHistory
Diff
Info
LikePages
PWCONV !!!PWCONV NAME SYNOPSIS DESCRIPTION BUGS SEE ALSO ---- !!NAME pwconv, pwunconv, grpconv, grpunconv - convert to and from shadow passwords and groups. !!SYNOPSIS __pwconv pwunconv grpconv grpunconv__ !!DESCRIPTION These four programs all operate on the normal and shadow password and group files: ''/etc/passwd'', ''/etc/group'', ''/etc/shadow'', and ''/etc/gshadow''. __pwconv__ creates ''shadow'' from ''passwd'' and an optionally existing ''shadow''. __pwunconv__ creates ''passwd'' from ''passwd'' and ''shadow'' and then removes ''shadow''. __grpconv__ creates ''gshadow'' from ''group'' and an optionally existing ''gshadow''. __grpunconv__ creates ''group'' from ''group'' and ''gshadow'' and then removes ''gshadow''. Each program acquires the necessary locks before conversion. __pwconv__ and __grpconv__ are similiar. First, entries in the shadowed file which don't exist in the main file are removed. Then, shadowed entries which don't have `x' as the password in the main file are updated. Any missing shadowed entries are added. Finally, passwords in the main file are replaced with `x'. These programs can be used for initial conversion as well to update the shadowed file if the main file is edited by hand. __pwconv__ will use the values of __PASS_MIN_DAYS__, __PASS_MAX_DAYS__, and __PASS_WARN_AGE__ from ''/etc/login.defs'' when adding new entries to ''/etc/shadow''. Likewise, __pwunconv__ and __grpunconv__ are similiar. Passwords in the main file are updated from the shadowed file. Entries which exist in the main file but not in the shadowed file are left alone. Finally, the shadowed file is removed. Some password aging information is lost by __pwunconv__. It will convert what it can. !!BUGS Errors in the password or group files (such as invalid or duplicate entries) may cause these programs to loop forever or fail in other strange ways. Please run __pwck__ and __grpck__ to correct any such errors before converting to or from shadow passwords or groups. !!SEE ALSO login.defs(5), pwck(8), grpck(8), shadowconfig(8) ----
One page links to
grpunconv(8)
:
Man8g
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.