Show password DB type

This commit is contained in:
Jamie Cameron
2015-04-25 15:02:00 -07:00
parent a10dd02a49
commit 22f3d49e5c
2 changed files with 15 additions and 1 deletions

View File

@ -1,8 +1,13 @@
#!/usr/local/bin/perl
require './user-lib.pl';
&ui_print_header(undef, $text{'index_title'}, "", "intro", 1, 1, 0,
# Show header with password DB type
$pft = &passfiles_type();
$pftmsg = &text('index_pft', $text{'index_pft'.$pft} || $pft);
&ui_print_header($pftmsg, $text{'index_title'}, "", "intro", 1, 1, 0,
&help_search_link("passwd group shadow gshadow", "man"));
$formno = 0;
&ReadParse();
@quarters = ( "width=25%", "width=25%", "width=25%", "width=25%" );

View File

@ -1,4 +1,13 @@
index_title=Users and Groups
index_pft=Database type: $1
index_pft0=Old /etc/passwd
index_pft1=BSD master.passwd
index_pft2=Regular /etc/passwd & /etc/shadow
index_pft3=User commands
index_pft4=AIX
index_pft5=SCO /etc/passwd & /etc/shadow
index_pft6=MacOS NetINFO
index_pft7=MacOS DSCL
index_toomany=There are too many users on your system to display on one page.
index_find=Find users whose
index_userreal=Username or real name