While browsing my /etc/passwd file I noticed that the package wesnoth I installed has added a user line: games:x:36:35:added by portage for wesnoth:/usr/games:/bin/bash Obviously nothing is set in /etc/shadow but should wesnoth be creating a user account with a /bin/bash shell? Wesnoth Version: * games-strategy/wesnoth Latest version available: 1.2.7 Latest version installed: 1.2.7 It may have been an earlier version of the installer that added the login entry. I could understand the need for a user login for example if hosting a wesnoth server but should the /etc/passwd entry not end /bin/false or similar? Reproducible: Always Steps to Reproduce: 1. Installed wesnoth. 2. 3. Actual Results: get user in /etc/passwd with /bin/bash login shell Expected Results: /bin/false as login shell. emerge --info Portage 2.1.3.19 (hardened/x86/2.6, gcc-3.4.6, glibc-2.6.1-r0, 2.6.20-hardened-r6 i686) ================================================================= System uname: 2.6.20-hardened-r6 i686 mobile AMD Athlon(tm) XP2200+ Timestamp of tree: Fri, 16 Nov 2007 21:30:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe " CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=athlon-xp -pipe " DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ " LINGUAS="en_GB" MAKEOPTS="-j2" PKGDIR="/mnt/gentoo/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 7zip X a52 aac acpi alsa amr animgif apache2 apm artworkextra asf async audiofile avi bittorrent bluetooth bzip2 cdrw cg chroot clamav cli colordiff compress connectionstatus contactnotes cpio cpudetection cpufreq cracklib crypt css dhcp dict directfb divx divx4linux dnd dvb dvd encode exif extras fame fat festival fftw flash fontconfig freebox freeimage freetext frontendonly gd general geoip gif gimp glsa glut glw gnuplot gs hardended hardened hddtemp html http idea image imagemagick imlib iptv jack java java5 javascript jce jpeg kcal kde kdepim kdexdeltas kdm kmid lame latex libwww lids logrotate logwatch mad maildir midi mixer mjpeg mmap mmx mmxext mouse mozilla mp2 mp3 mp3rtp mp4 mp4live mpd mpeg mpeg2 musepack music nat net netmeeting network nfs nls nptl nptlonly nsplugin ntfs ntp offensive ogg ogre openal opengl openssl pam pax pcmcia pdf pic pie planner png pop posix postfix ps qt3support qt4 quicktime readline samba sdl sdl-image sdl-sound sdlaudio sendmail sndfile sound sounds speech speedo spell sse sse2 ssl ssp statistics subversion syslog tcpd tetex text themes theora thesaurus threads tidy tiff timidity truetype type1 unicode unzip upnp urandom vorbis win32codecs wma wmf x x86 xhtml xine xml xorg xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="radeon vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
No, that's games.eclass that does this, intentionally.
(In reply to comment #1) > No, that's games.eclass that does this, intentionally. > Thanks jakub. Just wanted to be clear. It looked out of place.