goodmorning sunshine, hi people
als user (mein Paranoia-Modus hat hier modifiziert > username@Maschine, in /etc passw ein paar Zahlen zu "1---1 und am Schluss "xxxx")
tri@dhcppc2:~> lpstat
tri@dhcppc2:~>
tri@dhcppc2:~> lp /etc/passwd
Anfrage-ID ist OptraE310–14 (1 Datei(en))
tri@dhcppc2:~>
als root:
Passwort:
dhcppc2:~ # lpstat
dhcppc2:~ #
dhcppc2:~ # lp /etc/passwd
lp: Not allowed to print. (diese Fehler-Meldung hab ich doch schon gesehe > /usr/bin...)
dhcppc2:~ #
----
as root:
dhcppc2:/etc/sysconfig # cat kernel (Auszug)
## Path: System/Kernel
## Description:
## Type: string
## Command: /sbin/mkinitrd
#
# This variable contains the list of modules to be added to the initial
# ramdisk by calling the script "mkinitrd"
# (like drivers for scsi-controllers, for lvm or reiserfs)
#
INITRD_MODULES="pata_jmicron ata_generic thermal processor fan"
## Type: string(yes)
## Default: ""
## Command: /sbin/mkinitrd
# ....
#
MODULES_LOADED_ON_BOOT="lp"
## Type: string
## Default: ""
#
# The file name of a binary ACPI Differentiated System Description Table
# (DSDT). This table is appended to the initial ram disk (initrd) that
# the mkinitrd script creates. If the kernel finds that its initrd
# contains a DSDT, this table replaces the DSDT of the bios. If the file
# specified in ACPI_DSDT is not found or ACPI_DSDT is empty/not specified,
# no DSDT will be appended to the initrd.
# Example path /etc/acpi/DSDT.aml
# You can also override Secondary System Description Tables (SSDTs).
# Add DSDT and SSDT files separated by spaces, e.g. "DSDT.aml SSDT1.aml"
# The files must be named DSDT.aml and/or SSDT[1-9]*.aml.
# For compatiblity reasons, if only one file is added it is assumed it is
# the DSDT and will be used as such, in future the above naming scheme
# will be enforce.
# Be aware that overriding these tables can harm your system.
# Only do this if you know what you are doing [ , mein Problem] and file a bug on
# bugzilla.kernel.org so that the root cause of the issue will get fixed.
ACPI_DSDT=""
## Type: string(yes)
## Default: ""
#
# Skip doing a minimal preparation of the /usr/src/linux source tree so
# that most header files can be directly included. If set, /usr/src/linux
# will not be touched.
#
SKIP_RUNNING_KERNEL=""
dhcppc2:/etc/sysconfig #
----
/etc passwd
at:x:25:25:Batch jobs daemon:/var/spool/atjobs:/bin/bash
avahi:x:104:106:User for Avahi:/var/run/avahi-daemon:/bin/false
bin:x:1---1:1---1:bin:/bin:/bin/bash
daemon:x:1---1:1---1:Daemon:/sbin:/bin/bash
dnsmasq:x:107:65534:dnsmasq:/var/lib/empty:/bin/false
ftp:x:40:49:FTP account:/srv/ftp:/bin/bash
games:x:1---1:1---1:Games account:/var/games:/bin/bash
lp:x:4:7:Printing daemon:/var/spool/lpd:/bin/bash
mail:x:8:12:Mailer daemon:/var/spool/clientmqueue:/bin/false
man:x:13:62:Manual pages viewer:/var/cache/man:/bin/bash
messagebus:x:101:104:User for D-Bus:/var/run/dbus:/bin/false
mysql:x:60:107:MySQL database admin:/var/lib/mysql:/bin/false
news:x:9:13:News system:/etc/news:/bin/bash
nobody:x:1---1:1---1:nobody:/var/lib/nobody:/bin/bash
ntp:x:74:102:NTP daemon:/var/lib/ntp:/bin/false
postfix:x:51:51:Postfix Daemon:/var/spool/postfix:/bin/false
pulse:x:105:108:PulseAudio daemon:/var/lib/pulseaudio:/sbin/nologin
root:x:1---1:1---1:root:/root:/bin/bash
rtkit:x:1---1:1---1:RealtimeKit:/proc:/bin/false
sshd:x:100:101:SSH daemon:/var/lib/sshd:/bin/false
statd:x:102:65534:NFS statd daemon:/var/lib/nfs:/sbin/nologin
usbmux:x:106:65534:usbmuxd daemon:/var/lib/usbmuxd:/sbin/nologin
uucp:x:10:14:Unix-to-Unix CoPy system:/etc/uucp:/bin/bash
wwwrun:x:30:8:WWW daemon apache:/var/lib/wwwrun:/bin/false
tri:x:1---1:1---1:tri:/home/tri:/bin/bash
----
Shell as root und als user (identisches Ergebnis):
lpq (zeigt Druckerwarteschlange und kann Aufträge löschen)
dhcppc2:~ # lpq
OptraE310 is ready
no entries
dhcppc2:~ #
----
Shell as root:
lsmod (liste geladene Module und deren Speichernutzung)
dhcppc2:~ # lsmod
Module Size Used by
ip6t_LOG 9192 5
xt_tcpudp 3812 2
xt_pkttype 1288 3
ipt_LOG 8721 5
xt_limit 2591 10
af_packet 23463 0
edd 9664 0
ip6t_REJECT 4709 3
nf_conntrack_ipv6 9399 3
nf_defrag_ipv6 11699 1 nf_conntrack_ipv6
ip6table_raw 1627 1
xt_NOTRACK 1224 4
ipt_REJECT 2640 3
iptable_raw 1686 1
iptable_filter 1946 1
ip6table_mangle 2036 0
nf_conntrack_netbios_ns 1822 0
nf_conntrack_ipv4 10168 3
nf_defrag_ipv4 1737 1 nf_conntrack_ipv4
ip_tables 22302 2 iptable_raw,iptable_filter
xt_conntrack 2880 6
nf_conntrack 88175 5 nf_conntrack_ipv6,xt_NOTRACK,nf_conntrack_netbios_ns,nf_conntrack_ipv4,xt_conntrack
ip6table_filter 1855 1
ip6_tables 22656 4 ip6t_LOG,ip6table_raw,ip6table_mangle,ip6table_filter
x_tables 28281 16 ip6t_LOG,xt_tcpudp,xt_pkttype,ipt_LOG,xt_limit,ip6t_REJECT,ip6table_raw,xt_NOTRACK,ipt_REJECT,iptable_raw,iptable_filter,ip6table_mangle,ip_tables,xt_conntrack,ip6table_filter,ip6_tables
cpufreq_conservative 11828 0
cpufreq_userspace 3264 0
cpufreq_powersave 1290 0
snd_pcm_oss 53391 0
snd_mixer_oss 20225 1 snd_pcm_oss
snd_seq 66675 0
snd_seq_device 7770 1 snd_seq
acpi_cpufreq 8367 0
mperf 1555 1 acpi_cpufreq
nls_iso8859_1 4729 1
nls_cp437 6447 1
vfat 12113 1
fat 59095 1 vfat
dm_mod 86272 0
lp 10509 0
sr_mod 16781 0
ppdev 9183 0
iTCO_wdt 12266 0
parport_pc 37259 1
parport 40234 3 lp,ppdev,parport_pc
cdrom 43280 1 sr_mod
iTCO_vendor_support 3118 1 iTCO_wdt
floppy 68461 0
i2c_i801 10920 0
r8169 43831 0
snd_hda_codec_realtek 356587 1
pcspkr 2190 0
snd_hda_intel 28773 2
snd_hda_codec 108050 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 7772 1 snd_hda_codec
snd_pcm 104468 3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer 26774 2 snd_seq,snd_pcm
snd 84374 14 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
sg 33426 0
soundcore 8782 1 snd
snd_page_alloc 9569 2 snd_hda_intel,snd_pcm
ext4 396300 9
jbd2 91750 1 ext4
crc16 1747 1 ext4
nouveau 613485 2
ttm 74373 1 nouveau
drm_kms_helper 36694 1 nouveau
drm 232428 4 nouveau,ttm,drm_kms_helper
i2c_algo_bit 6374 1 nouveau
video 15929 1 nouveau
button 6829 1 nouveau
fan 3215 0
processor 39669 5 acpi_cpufreq
thermal 14914 0
thermal_sys 17462 4 video,fan,processor,thermal
ata_generic 3995 0
pata_jmicron 2907 0
dhcppc2:~ #
----
/etc/sysconfig cups
## Path: System/Printing/CUPS
## Description: Cups options
## Type: string
## Default: cups
## ServiceReload: cups
## ServiceRestart: cups
#
IDENT="cups"
## Type: string
## Default: "CUPS printer daemon"
DESCRIPTIVE="CUPS printer daemon"
## Type: string
## Default: ""
#
# change CUPSD_OPTIONS for arguments of start of cupsd
# e.g. CUPSD_OPTIONS="-c /etc/cups/cupsd.conf"
CUPSD_OPTIONS=""
----
/etc permissions (Auszug)
#netatalk printer daemon:sgid not needed any more with cups.
/usr/sbin/papd root:lp xxxx
ich hoffe brauchbares geliefert zu haben, danke.