Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37566602
en ru br
ALT Linux repos
S:0.1-alt2

Group :: System/Configuration/Other
RPM: installer-feature-kiosk-user

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: installer-feature-kiosk-user
Version: 0.1
Release: alt2

Summary: Add/preconfigure kiosk user
License: GPL
Group: System/Configuration/Other

Url: http://www.altlinux.org/Installer/beans
Packager: Michael Shigorin <mike at altlinux.org>
BuildArch: noarch
Requires: installer-common-stage3
Requires: autologin

%description
This package contains kiosk user preconfiguration hook
for installer stage3.

%install
mkdir -p %buildroot

%post
useradd -s /bin/rbash -p "" kiosk # no need for -r, we need $HOME

# FIXME: this relates to _web_ kiosk

mkdir ~kiosk/.xsession.d
echo firefox > ~kiosk/.xsession.d/firefox
chmod +x ~kiosk/.xsession.d/firefox
# /FIXME

cat >> /etc/sysconfig/autologin << EOF
AUTOLOGIN=yes
USER=kiosk
EOF

%files

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin