Summary: Tools for certain user account management tasks. Summary(ja): ユーザアカウント管理用ツール Name: usermode Version: 1.107 Release: 1%{?_dist_release} License: GPLv2+ Group: Applications/System URL: https://fedorahosted.org/usermode/ Source: https://fedorahosted.org/releases/u/s/usermode/usermode-%{version}.tar.xz ## Vine Source(s)/Patch(es) Source10: usermode-1.107-ja.po Patch10: usermode-1.37-halt-p.patch Vendor: Project Vine Distribution: Vine Linux Packager: daisuke BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: desktop-file-utils, glib2-devel, gtk2-devel BuildRequires: libglade2-devel, libuser-devel, pam-devel, util-linux-ng, libwnck-devel BuildRequires: libblkid-devel BuildRequires: perl-XML-Parser, libSM-devel, startup-notification-devel, gettext Requires: util-linux-ng, pam >= 0.75, passwd Conflicts: SysVinit < 2.74-14 %description The usermode package contains the userhelper program, which can be used to allow configured programs to be run with superuser privileges by ordinary users. %description -l ja usermode パッケージには、一般ユーザが設定されたプログラムをスーパーユー ザとして実行できるようにするユーザヘルパープログラムが含まれています。 %package gtk Summary: Graphical tools for certain user account management tasks. Summary(ja): ユーザアカウント管理用グラフィカルツール Group: Applications/System Requires: %{name} = %{version}-%{release} %description gtk The usermode-gtk package contains several graphical tools for users: userinfo, usermount and userpasswd. Userinfo allows users to change their finger information. Usermount lets users mount, unmount, and format filesystems. Userpasswd allows users to change their passwords. Install the usermode-gtk package if you would like to provide users with graphical tools for certain account management tasks. %description gtk -l ja usermode-gtk には userinfo, usermount, userpasswd といったユーザ用 グラフィカルツールも収められています。userinfo を使うと一般ユーザが自 分のアカウントの finger 情報を変更することが出来ます. usermount は一般ユーザがファイルシステムのマウント/アンマウント/初期化を 行うことを可能にします.userpasswd は一般ユーザが自分のパスワードを 変更するのに使います. 一般ユーザ向けに,アカウント管理用グラフィカルツールを提供したい場合は usermode パッケージをインストールして下さい. %prep %setup -q cp -f po/ja.po po/ja.po.orig cp -f %{SOURCE10} po/ja.po %patch10 -p1 -b .halt-p %build intltoolize --force --copy autoreconf %configure make -C po usermode.pot make -C po update-po make %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT # We set up the shutdown programs to be wrapped in this package. Other # packages are on their own.... mkdir -p $RPM_BUILD_ROOT/etc/pam.d $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps for wrappedapp in halt reboot poweroff ; do ln -s consolehelper $RPM_BUILD_ROOT%{_bindir}/${wrappedapp} install -m644 $wrappedapp $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps/${wrappedapp} cp shutdown.pamd $RPM_BUILD_ROOT/etc/pam.d/${wrappedapp} done cat < $RPM_BUILD_ROOT/etc/security/console.apps/config-util USER=root UGROUPS=wheel EOF for desktopfile in $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop do mv $desktopfile ${desktopfile/redhat-/} done %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root) %attr(4711,root,root) /usr/sbin/userhelper %{_bindir}/consolehelper %{_mandir}/man8/userhelper.8* %{_mandir}/man8/consolehelper.8* # PAM console wrappers %{_bindir}/halt %{_bindir}/reboot %{_bindir}/poweroff %{_bindir}/shutdown %config(noreplace) /etc/pam.d/halt %config(noreplace) /etc/pam.d/reboot %config(noreplace) /etc/pam.d/poweroff %config(noreplace) /etc/security/console.apps/config-util %config /etc/security/console.apps/halt %config /etc/security/console.apps/reboot %config /etc/security/console.apps/poweroff %files gtk %defattr(-,root,root) %{_bindir}/usermount %{_mandir}/man1/usermount.1* %{_bindir}/userinfo %{_mandir}/man1/userinfo.1* %{_bindir}/userpasswd %{_mandir}/man1/userpasswd.1* %{_bindir}/consolehelper-gtk %{_mandir}/man8/consolehelper-gtk.8* %{_bindir}/pam-panel-icon %{_mandir}/man1/pam-panel-icon.1* %{_datadir}/%{name} %{_datadir}/pixmaps/* %{_datadir}/applications/* %changelog * Sat Jun 18 2011 Daisuke SUZUKI 1.107-1 - update to 1.107 - add UGROUPS=wheel to config-util - update ja.po for better authentication dialog * Mon Jan 17 2011 Daisuke SUZUKI 1.106.1-1 - new upstream release * Tue Aug 19 2008 Daisuke SUZUKI 1.98-1 - new upstream release * Fri Aug 15 2008 Shu KONNO 1.86-1vl5 - applied new versioning policy, spec in utf-8 * Sat Jan 12 2008 Ryoichi INAGAKI 1.86-0vl3 - rebuilt with libwnck 2.20.2 - added Patch100 for avoiding desktop-file-install failure - fixed *.desktop.in files * Tue Sep 19 2006 Daisuke SUZUKI 1.86-0vl2 - fix Patch12 - The old patch changes the application's locale by mistake. * Thu Sep 14 2006 Daisuke SUZUKI 1.86-0vl1 - new upstream release - add Patch12 to fix broken messages in consolehelper-gtk () - update ja.po * Thu Jun 29 2006 Daisuke SUZUKI 1.85-0vl1 - new upstream release * Sun Aug 21 2005 Daisuke SUZUKI 1.81-0vl1 - new upstream release - rebuild with new libwnck * Mon Mar 21 2005 Daisuke SUZUKI 1.70-4vl3 - rebuild with new libwnck * Sat Jul 3 2004 Tomoya TAKA 1.70-4vl2 - fix lack of %%{_bindir}/shutdown * Mon Jun 28 2004 Daisuke SUZUKI 1.70-4vl1 - new upstream release - fixed spec's kanji code. - split gui related utilities to usermode-gtk subpackage. * Mon Nov 10 2003 Daisuke SUZUKI 1.69-1vl1 - new upstream release * Tue Oct 23 2003 Daisuke SUZUKI 1.68-0vl1 - new upstream release * Sat Jan 25 2003 Daisuke SUZUKI 1.65-1vl1 - merged with Vine Linux package 1.42-1vl5 * Sat Aug 17 2002 MATSUBAYASHI Kohji 1.42-1vl5 - enable system authentication even if %%{build6x} is set to 0 (for compatibility with previous version) * Mon Aug 05 2002 KOBAYASHI R. Taizo 1.42-1vl4 - reinstated /usr/bin/shutdown * Fri Aug 02 2002 KOBAYASHI R. Taizo 1.42-1vl3 - rebuild with pam-0.75-39vl1 - set build6x to 0 * Wed Feb 20 2002 Daisuke SUZUKI 1.42-1vl2 - rebuild to remove rpmlib dependancy * Fri Jun 01 2001 MATSUBAYASHI 'Shaolin' Kohji - 1.42-1vl1 - based on 1.42-1 from Rawhide and merged some from 1.37-2vl2 - %%define build6x 1 for Vine * Mon Jan 20 2003 Nalin Dahyabhai 1.65-1 - pass-through DESKTOP_STARTUP_ID * Mon Jan 6 2003 Nalin Dahyabhai 1.64-1 - set the requesting user PAM item to the invoking user's name (#81255) * Mon Nov 11 2002 Nalin Dahyabhai 1.63-2 - remove directory names from PAM config files, allowing the same config files to work for both arches on multilib boxes - translation updates * Wed Sep 4 2002 Nalin Dahyabhai 1.63-1 - userhelper: swallow the exec'd program's exit stauts, which would be misinterpreted by consolehelper anyway * Tue Sep 3 2002 Nalin Dahyabhai 1.62-1 - consolehelper: suppress dialog on successful execution - userhelper: return 0 on success, not 1 (what was I *thinking*?) * Mon Sep 2 2002 Nalin Dahyabhai 1.61-1 - userinfo: exit properly on escape. handle site_info field properly. go insensitive while running child process. - userpasswd: exit properly on cancel. - all of the above: reap the child instead of checking for pipe close -- this way is more robust (#68578,72684). - usermount: run mount/umount synchronously. capture stderr and display in a dialog. desensitize action buttons when no filesystems are selected. - consolehelper: display errors if we're attempting to run bogus programs (#72127) - translation updates (#70278) * Wed Aug 14 2002 Nalin Dahyabhai 1.60-1 - reconnect the "cancel" and "ok" buttons in userinfo - heed the cancel button when prompting for passwords in userinfo (#68578) - translation update * Wed Aug 14 2002 Nalin Dahyabhai 1.59-2 - change "forget password" to "forget authorization", because we don't actually remember the password (that would be scary, #71476) - translation update * Tue Aug 13 2002 Nalin Dahyabhai 1.59-1 - pam-panel-icon: overhaul, change the 'locked' icon to keyring-small, nix the 'unlocked' icon - consolehelper-gtk: properly set up the dialog buttons (should be 'cancel/ok' when we're asking questions, was always 'close') - disappear pam_timestamp_init * Wed Aug 7 2002 Nalin Dahyabhai 1.58-2 - install the new 'unlocked' icon * Tue Aug 6 2002 Jonathan Blandford - New version. * Mon Aug 5 2002 Nalin Dahyabhai 1.57-1 - add support for BANNER and BANNER_DOMAIN in the userhelper configuration * Mon Aug 5 2002 Nalin Dahyabhai 1.56-4 - mark strings in the .glade file as translatable (#70278) - translation updates * Wed Jul 31 2002 Nalin Dahyabhai 1.56-3 - add icons for userpasswd and usermount * Wed Jul 24 2002 Nalin Dahyabhai 1.56-2 - actually include the icons - translation updates * Tue Jul 23 2002 Nalin Dahyabhai 1.56-1 - userinfo: prevent users from selecting "nologin" as a shell (#68579) - don't strip binaries by default; leave that to the buildroot policy - use desktop-file-install * Wed Jun 19 2002 Havoc Pennington - put pam-panel-icon in file list * Mon May 20 2002 Nalin Dahyabhai 1.55-2 - don't strip binaries which have no special privileges * Wed May 15 2002 Nalin Dahyabhai 1.55-1 - remove the pixmap we don't use any more (we use stock pixmaps now) - update translations * Thu Apr 16 2002 Nalin Dahyabhai 1.54-1 - suppress even error messages from Xlib when consolehelper calls gtk_init_check() to see if the display is available * Mon Apr 15 2002 Nalin Dahyabhai 1.53-2 - refresh translations * Thu Apr 11 2002 Nalin Dahyabhai 1.53-1 - refresh shell variable code from authconfig (#63175) * Tue Apr 9 2002 Nalin Dahyabhai 1.52-2 - refresh translations * Mon Apr 1 2002 Nalin Dahyabhai 1.52-1 - attempt to make prompts at the console more meaningful - when falling back, reset the entire environment to the user's * Thu Mar 28 2002 Nalin Dahyabhai - stop giving the user chances to enter the right password if we get a conversation error reading a response (appears to be masked by libpam) (#62195) - always center consolehelper dialog windows * Wed Mar 27 2002 Nalin Dahyabhai 1.51-1 - patch to make gettext give us UTF-8 strings (which GTK needs) from ynakai * Fri Mar 22 2002 Nalin Dahyabhai 1.50-6 - update translations - actually include the glade files (#61665) * Mon Mar 11 2002 Nalin Dahyabhai 1.50-5 - update translations * Mon Feb 25 2002 Nalin Dahyabhai 1.50-4 - rebuild * Fri Feb 22 2002 Nalin Dahyabhai 1.50-3 - update translations * Thu Jan 31 2002 Nalin Dahyabhai 1.50-2 - rebuild to fix dependencies * Thu Jan 31 2002 Nalin Dahyabhai 1.50-1 - fix userpasswd dialog message being incorrect for password changes - use a dumb conversation function when text mode is invoked without a tty -- if the service's configuration doesn't call for prompts, then it'll still work - port from pwdb to libuser - catch child-exit errors correctly again - fix keyboard-grabbing * Wed Jan 23 2002 Nalin Dahyabhai 1.49-3 - add default locations for certain binaries to configure.in * Thu Jan 3 2002 Nalin Dahyabhai 1.49-2 - munge glade file to use stock items for buttons where possible * Mon Dec 10 2001 Nalin Dahyabhai 1.49-1 - the console.apps configs shouldn't be missingok - fix buildprereqs for gtk2/libglade2 * Tue Dec 4 2001 Nalin Dahyabhai - more gtk2 changes - split off a -gtk subpackage with all of the gtk-specific functionality * Wed Nov 28 2001 Nalin Dahyabhai - the grand libglade/gtk2 overhaul - allow disabling display of GUI windows by setting "GUI=false" in the console.apps configuration file (default: TRUE) - allow disabling display of GUI windows by recognizing a magic option on the command-line of the program being wrapped (NOXOPTION, no default) * Fri Nov 9 2001 Nalin Dahyabhai 1.46-1 - restore the previous XAUTHORITY setting before opening PAM sessions * Fri Nov 2 2001 Nalin Dahyabhai 1.45-1 - propagate environment variables from libpam to applications * Fri Oct 3 2001 Nalin Dahyabhai 1.44-1 - only try to call gtk_main_quit() if we've got a loop to get out of (#54109) - obey RPM_OPT_FLAGS, obey * Tue Aug 28 2001 Trond Eivind Glomsr藷? 1.43-1 - Update translations * Mon Aug 6 2001 Nalin Dahyabhai - add build requirements on glib-devel, gtk+-devel, pam-devel (#49726) * Sun Jun 24 2001 Elliot Lee - Bump release + rebuild. * Wed Feb 14 2001 Preston Brown - final translation merge. * Wed Feb 14 2001 Nalin Dahyabhai - clear the supplemental groups list before running binaries as root (#26851) * Wed Feb 7 2001 Nalin Dahyabhai - set XAUTHORITY if we fall back to regular behavior (#26343) - make the suid helper 04711 instead of 04755 * Mon Feb 5 2001 Nalin Dahyabhai - refresh translations * Mon Jan 29 2001 Preston Brown - use lang finding script. * Thu Jan 25 2001 Yukihiro Nakai - Some fix for Japanese environment. - Use gtk_set_locale() instead of setlocale() - Copyright update. * Sun Jan 7 2001 Yukihiro Nakai - Add gettextized * Thu Nov 2 2000 Nalin Dahyabhai - fix segfault in userhelper (#20027) * Tue Oct 24 2000 Nalin Dahyabhai - /sbin/shutdown, not /usr/sbin/shutdown (#19034) * Fri Oct 6 2000 Nalin Dahyabhai - don't pass on arguments to halt and reboot, because they error out * Thu Oct 5 2000 Nalin Dahyabhai - fix the /usr/bin/shutdown wrapper so that root can call shutdown - only include the /usr/bin/shutdown wrapper on 6.x - also sanitize LC_MESSAGES - tweak sanitizing checks (from mkj) * Wed Oct 4 2000 Jakub Jelinek - fix a security bug with LC_ALL/LANG variables (#18046) * Mon Aug 28 2000 Nalin Dahyabhai - mark defined strings translateable (#17006) * Thu Aug 24 2000 Nalin Dahyabhai - fix incorrect user name - add a shell wrapper version of /usr/bin/shutdown - build for 6.x errata - bump revision to upgrade the errata * Wed Aug 23 2000 Nalin Dahyabhai - fix stdin/stdout redirection shenanigans (#11706) - fix authentication and execution as users other than root - make sure the right descriptors are terminals before dup2()ing them - cut out an extra-large CPU waster that breaks GUI apps * Mon Aug 21 2000 Nalin Dahyabhai - fix typo (#16664) * Sun Aug 20 2000 Nalin Dahyabhai - previous fix, part two * Sat Aug 19 2000 Nalin Dahyabhai - fix inadvertent breakage of the shell-changing code * Fri Aug 18 2000 Nalin Dahyabhai - fix the "run unprivileged" option * Mon Aug 14 2000 Nalin Dahyabhai - actually use the right set of translations * Fri Aug 11 2000 Nalin Dahyabhai - remove the shutdown command from the list of honored commands * Wed Aug 9 2000 Nalin Dahyabhai - merge in updated translations - set XAUTHORITY after successful authentication (#11006) * Wed Aug 2 2000 Nalin Dahyabhai - install translations - fixup a messy text string - make "Mount"/"Unmount" translatable - stop prompting for passwords to shut down -- we can hit ctrl-alt-del anyway, and gdm users can just shut down without logging in * Mon Jul 31 2000 Nalin Dahyabhai - attempt to add i18n support * Wed Jul 12 2000 Nalin Dahyabhai - attempt to get a usable icon for userhelper-wrap (#13616, #13768) * Wed Jul 5 2000 Nalin Dahyabhai - fix them right this time * Mon Jul 3 2000 Nalin Dahyabhai - fix verbosity problems * Mon Jun 19 2000 Nalin Dahyabhai - strip all binaries by default - add the name of the program being run to the userhelper dialog - add a graphic to the userhelper-wrap package - add a button to jump straight to nonprivileged operation when supported * Sun Jun 18 2000 Matt Wilson - rebuilt to see if we get stripped binaries * Mon Jun 5 2000 Nalin Dahyabhai - move man pages to %%{_mandir} * Thu Jun 1 2000 Nalin Dahyabhai - modify PAM setup to use system-auth - bzip2 compress tarball * Fri Mar 17 2000 Ngo Than - fix problem with LANG and LC_ALL - compress source with bzip2 * Thu Mar 09 2000 Nalin Dahyabhai - fix problem parsing userhelper's -w flag with other args * Wed Mar 08 2000 Nalin Dahyabhai - ignore read() == 0 because the child exits * Tue Mar 07 2000 Nalin Dahyabhai - queue notice messages until we get prompts in userhelper to fix bug #8745 * Fri Feb 03 2000 Nalin Dahyabhai - free trip through the build system * Tue Jan 11 2000 Nalin Dahyabhai - grab keyboard input focus for dialogs * Fri Jan 07 2000 Michael K. Johnson - The root exploit fix created a bug that only showed up in certain circumstances. Unfortunately, we didn't test in those circumstances... * Mon Jan 03 2000 Michael K. Johnson - fixed local root exploit * Thu Sep 30 1999 Michael K. Johnson - fixed old complex broken gecos parsing, replaced with simple working parsing - can now blank fields (was broken by previous fix for something else...) * Tue Sep 21 1999 Michael K. Johnson - FALLBACK/RETRY in consolehelper/userhelper - session management fixed for consolehelper/userhelper SESSION=true - fix memory leak and failure to close in error condition (#3614) - fix various bugs where not all elements in userinfo got set * Mon Sep 20 1999 Michael K. Johnson - set $HOME when acting as consolehelper - rebuild against new pwdb * Tue Sep 14 1999 Michael K. Johnson - honor "owner" flag to mount - ask for passwords with username * Tue Jul 06 1999 Bill Nottingham - import pam_console wrappers from SysVinit, since they require usermode * Mon Apr 12 1999 Michael K. Johnson - even better check for X availability * Wed Apr 07 1999 Michael K. Johnson - better check for X availability - center windows to make authentication easier (improve later with transients and embedded windows where possible) - applink -> applnk - added a little padding, especially important when running without a window manager, as happens when running from session manager at logout time * Wed Mar 31 1999 Michael K. Johnson - hm, need to be root... * Fri Mar 19 1999 Michael K. Johnson - updated userhelper.8 man page for consolehelper capabilities - moved from wmconfig to desktop entries * Thu Mar 18 1999 Michael K. Johnson - added consolehelper - Changed conversation architecture to follow PAM spec * Wed Mar 17 1999 Bill Nottingham - remove gdk_input_remove (causing segfaults) * Tue Jan 12 1999 Michael K. Johnson - fix missing include files * Mon Oct 12 1998 Cristian Gafton - strip binaries - use defattr - fix spec file ( rm -rf $(RPM_BUILD_ROOT) is a stupid thing to do ! ) * Tue Oct 06 1998 Preston Brown - fixed so that the close button on window managers quits the program properly * Thu Apr 16 1998 Erik Troan - use gtk-config during build - added make archive rule to Makefile - uses a build root * Fri Nov 7 1997 Otto Hammersmith - new version that fixed memory leak bug. * Mon Nov 3 1997 Otto Hammersmith - updated version to fix bugs * Fri Oct 17 1997 Otto Hammersmith - Wrote man pages for userpasswd and userhelper. * Tue Oct 14 1997 Otto Hammersmith - Updated the packages... now includes userpasswd for changing passwords and newer versions of usermount and userinfo. No known bugs or misfeatures. - Fixed the file list... * Mon Oct 6 1997 Otto Hammersmith - Created the spec file.