Fórum Ubuntu CZ/SK

Ubuntu pro osobní počítače => Instalace, aktualizace a spouštění => Téma založeno: standa 16 Října 2009, 08:41:11

Název: synaptic - heslo [vyřešeno]
Přispěvatel: standa 16 Října 2009, 08:41:11
Ahoj, synaptic požaduje heslo, když ho zadám nenaskočí. Správce aktualizací mě nabídne aktualizace a k jejich nainstalování samozřejmě heslo - toto zadám a zase nic.
 Pomůžete ? Dík
Název: Re: synaptic - heslo
Přispěvatel: Switch 16 Října 2009, 08:45:35
několikrát se mi to také stalo. Newím jestli to bude stejný problém jako jsem měl já ale trápilo mě to asi 2 hod. :D
Když zadáš heslo tak NEKLIKEJ na enteter (je inciplitne zadána hodnota Storno) a pomocí myši klikni na OK
Ani neni možný věřit, že mě to trápilo 2 hodiny co???
Název: Re: synaptic - heslo
Přispěvatel: standa 16 Října 2009, 08:48:13
naklikat "OK" NEPOMÁHÁ     :'(
Název: Re: synaptic - heslo
Přispěvatel: arrange 16 Října 2009, 09:12:48
Potřebujeme více informací - zkus otevřít Terminál (http://wiki.ubuntu.cz/Termin%C3%A1l) a spustit Synaptic ručně
Kód: [Vybrat]
gksu synapticPíše to něco v Terminálu? Zkopíruj to sem.
Název: Re: synaptic - heslo
Přispěvatel: standa 16 Října 2009, 09:40:04
po zadání do terminálu to po mě chtělo heslo ROOT, zadal jsem, tabulka zmizela a nic:

standa@PC904:~$ gksu synaptic
standa@PC904:~$
Název: Re: synaptic - heslo
Přispěvatel: arrange 16 Října 2009, 09:57:43
?Co vypíše
Kód: [Vybrat]
sudo dpkg --configure -a
sudo apt-get update
sudo apt-get install -f
Název: Re: synaptic - heslo
Přispěvatel: standa 16 Října 2009, 10:03:49
výpis :

standa@PC904:~$ gksu synaptic
standa@PC904:~$ sudo dpkg --configure -a
sudo: unable to resolve host PC904
[sudo] password for standa:
Sorry, try again.
[sudo] password for standa:
standa@PC904:~$ sudo apt-get update
sudo: unable to resolve host PC904
[sudo] password for standa:
standa@PC904:~$ sudo apt-get install -f
sudo: unable to resolve host PC904
[sudo] password for standa:
standa@PC904:~$ sudo dpkg --configure -a
sudo: unable to resolve host PC904
[sudo] password for standa:
Sorry, try again.
[sudo] password for standa:
standa@PC904:~$ sudo apt-get update
sudo: unable to resolve host PC904
[sudo] password for standa:
Název: Re: synaptic - heslo
Přispěvatel: arrange 16 Října 2009, 10:10:35
unable to resolve host PC904, hmm. ?Co teda máš v /etc/hosts
Kód: [Vybrat]
cat /etc/hosts
Název: Re: synaptic - heslo
Přispěvatel: standa 16 Října 2009, 10:13:48
vidím, že je tam nějaký rozdíl v názvu počítače :

standa@PC904:~$ cat /etc/hosts
127.0.0.1   localhost
127.0.1.1   PC-904

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
standa@PC904:~$
Název: Re: synaptic - heslo
Přispěvatel: arrange 16 Října 2009, 10:17:39
Ano, zálohuj původní (sudo cp /etc/hosts /etc/hosts.zaloha) a zkus to opravit, třeba pomocí gksudo gedit /etc/hosts. Pak znovu zkus ten Synaptic.
Název: Re: synaptic - heslo
Přispěvatel: standa 16 Října 2009, 10:37:54
gksudo gedit /etc/hosts po mě chce heslo, které nebere,
Název: Re: synaptic - heslo
Přispěvatel: NoWin 16 Října 2009, 10:44:02
Nabootuj LiveCD, mountni disk a v něm uprav /etc/hosts

z:
Kód: [Vybrat]
127.0.0.1   localhost
127.0.1.1   PC-904

na:
Kód: [Vybrat]
127.0.0.1   localhost
127.0.1.1   PC904
Název: Re: synaptic - heslo
Přispěvatel: arrange 16 Října 2009, 10:45:03
Anebo v recovery mode (http://wiki.ubuntu.cz/RecoveryMode) (nemusíš zadávat sudo).

Místo gedit použij třeba nano: ukončuje se Ctrl+x, potvrdíš uložení y (yes) a jméno souboru.
Název: Re: synaptic - heslo
Přispěvatel: standa 16 Října 2009, 11:13:02
nic, zkoušel jsem přes LIVE CD a po změně zase nic. Zkoušel jsem spuštění ostatních aplikaci, které vyžadují heslo ROOT a to samé. Po zadání hesla tabulka zmizí a nic se neděje. Zadal jsem úmyslně špatné heslo a tady byla rekce "špatné heslo ", či jak je ta hláška přesně.

Uvažuji stejně za 14. dnů o U-9.10, ale chtěl bych tento problém vyřešit.
Název: Re: synaptic - heslo
Přispěvatel: arrange 16 Října 2009, 11:17:40
?Co tedy teď vypíše (NE v LiveCD, normálně z HDD)
Kód: [Vybrat]
cat /etc/hosts
sudo apt-get update
Název: Re: synaptic - heslo
Přispěvatel: standa 16 Října 2009, 11:19:24
tohle :

standa@PC904:~$ cat /etc/hosts
127.0.0.1   localhost
127.0.1.1   PC904

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
standa@PC904:~$ sudo apt-get update
[sudo] password for standa:
standa@PC904:~$
Název: Re: synaptic - heslo
Přispěvatel: arrange 16 Října 2009, 11:28:56
Výpis ze zdrojů a nastavení sudo
Kód: [Vybrat]
grep '^[^#]' /etc/apt/sources.list
sudo cat /etc/sudoers
Název: Re: synaptic - heslo
Přispěvatel: standa 16 Října 2009, 11:32:15
tady :

standa@PC904:~$ grep '^[^#]' /etc/apt/sources.list
deb http://cz.archive.ubuntu.com/ubuntu/ jaunty main restricted
deb-src http://cz.archive.ubuntu.com/ubuntu/ jaunty main restricted
deb http://cz.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted
deb-src http://cz.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted
deb http://cz.archive.ubuntu.com/ubuntu/ jaunty universe
deb-src http://cz.archive.ubuntu.com/ubuntu/ jaunty universe
deb http://cz.archive.ubuntu.com/ubuntu/ jaunty-updates universe
deb-src http://cz.archive.ubuntu.com/ubuntu/ jaunty-updates universe
deb http://cz.archive.ubuntu.com/ubuntu/ jaunty multiverse
deb-src http://cz.archive.ubuntu.com/ubuntu/ jaunty multiverse
deb http://cz.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse
deb-src http://cz.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse
deb http://archive.canonical.com/ubuntu jaunty partner
deb http://security.ubuntu.com/ubuntu jaunty-security main restricted
deb-src http://security.ubuntu.com/ubuntu jaunty-security main restricted
deb http://security.ubuntu.com/ubuntu jaunty-security universe
deb-src http://security.ubuntu.com/ubuntu jaunty-security universe
deb http://security.ubuntu.com/ubuntu jaunty-security multiverse
deb-src http://security.ubuntu.com/ubuntu jaunty-security multiverse
deb http://packages.medibuntu.org/ jaunty free non-free #Medibuntu pro Ubuntu 9.04
deb http://deb.opera.com/opera/ stable non-free
deb http://wine.budgetdedicated.com/apt jaunty main #Wine (Ubuntu 9.04)
deb http://opensync.gforge.punktart.de/repo/opensync-0.21/ feisty main
deb-src http://opensync.gforge.punktart.de/repo/opensync-0.21/ feisty main
deb http://mirror.noreply.org/pub/tor jaunty main #Tor (Ubuntu 9.04)
deb http://www.pvv.ntnu.no/~knuta/xmms/jaunty ./
deb-src http://www.pvv.ntnu.no/~knuta/xmms/jaunty ./
deb http://ppa.launchpad.net/blueman/ppa/ubuntu jaunty main #blueman
deb http://repository.cairo-dock.org/ubuntu jaunty cairo-dock
deb http://ppa.launchpad.net/bisigi/ppa/ubuntu jaunty main
deb http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu jaunty main #Pidgin
deb http://ppa.launchpad.net/tualatrix/ppa/ubuntu jaunty main #Ubuntu Tweak
deb http://ppa.launchpad.net/c-korn/vlc/ubuntu jaunty main #Multimediální přehrávač VLC
deb http://ppa.launchpad.net/globalmenu-team/ppa/ubuntu jaunty main #Globální menu GNOME
deb http://martin-kapoun.com/ubuntugamers binary-i386/
standa@PC904:~$ sudo cat /etc/sudoers
[sudo] password for standa:
standa@PC904:~$
Název: Re: synaptic - heslo
Přispěvatel: arrange 16 Října 2009, 11:45:58
?Máš v tom souboru vůbec něco
Kód: [Vybrat]
stat /etc/sudoers
Název: Re: synaptic - heslo
Přispěvatel: standa 16 Října 2009, 11:56:14
snad jo :
standa@PC904:~$ stat /etc/sudoers
  File: „/etc/sudoers“
  Size: 557          Blocks: 8          IO Block: 4096   regular file
Device: 801h/2049d   Inode: 752397      Links: 1
Access: (0440/-r--r-----)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2009-05-10 09:52:11.000000000 +0200
Modify: 2009-05-10 09:43:08.000000000 +0200
Change: 2009-05-10 09:43:08.000000000 +0200
standa@PC904:~$
Název: Re: synaptic - heslo
Přispěvatel: arrange 16 Října 2009, 17:42:41
Zkus jít do root účtu přes sudo -i. Pokud se nepovede, najeď do něj přes recovery mode (http://wiki.ubuntu.cz/RecoveryMode) a dej tu výpis z
Kód: [Vybrat]
cat /etc/sudoers
sudo -V

Bude to dlouhý výpis, takže možná bude lepší si to uložit někam do souboru a pak po restartu to zkopírovat z toho souboru (/home/vypis.txt).
Kód: [Vybrat]
cat /etc/sudoers > /home/vypis.txt
sudo -V >> /home/vypis.txt
chmod 777 /home/vypis.txt
Název: Re: synaptic - heslo
Přispěvatel: standa 16 Října 2009, 19:59:33
arrange - prosím Tě ten první návod nezabral, u druhého jsem úplný laik, jelikož nejsem schopen tam zadat znak ">> "
Název: Re: synaptic - heslo
Přispěvatel: arrange 16 Října 2009, 20:12:10
To nevadí. Normálně v Ubu si vytvoř skript takto: gedit /home/skript - otevře se ti textový editor, zkopíruj tam
Kód: [Vybrat]
cat /etc/sudoers > /home/vypis.txt
sudo -V >> /home/vypis.txt
chmod 777 /home/vypis.txt
exit 0
a ulož. Pak do recovery mode (http://wiki.ubuntu.cz/RecoveryMode), a až tam budeš jako root, dej jen příkaz bash /home/skript (spustí ten skript s příkazy).

Pak znovu ( :)) do Ubu a mrkni se do souboru /home/vypis.txt jestli tam je ten výpis. Měl by vypadat nějak takto
Kód: [Vybrat]
# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#

Defaults env_reset

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root ALL=(ALL) ALL

# Uncomment to allow members of group sudo to not need a password
# (Note that later entries override this, so you might need to move
# it further down)
# %sudo ALL=NOPASSWD: ALL

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL

Sudo version 1.6.9p17

Sudoers path: /etc/sudoers
Authentication methods: 'pam'
Syslog facility if syslog is being used for logging: authpriv
Syslog priority to use when user authenticates successfully: notice
Syslog priority to use when user authenticates unsuccessfully: alert
Send mail if the user is not in sudoers
Use a separate timestamp for each user/tty combo
Lecture user the first time they run sudo
Require users to authenticate by default
Root may run sudo
Allow some information gathering to give useful error messages
Require fully-qualified hostnames in the sudoers file
Visudo will honor the EDITOR environment variable
Set the LOGNAME and USER environment variables
Length at which to wrap log file lines (0 for no wrap): 80
Authentication timestamp timeout: 15 minutes
Password prompt timeout: 0 minutes
Number of tries to enter a password: 3
Umask to use or 0777 to use user's: 022
Path to mail program: /usr/sbin/sendmail
Flags for mail program: -t
Address to send mail to: root
Subject line for mail messages: *** SECURITY information for %h ***
Incorrect password message: Sorry, try again.
Path to authentication timestamp dir: /var/run/sudo
Default password prompt: [sudo] password for %p:
Default user to run commands as: root
Path to the editor for use by visudo: /usr/bin/editor
When to require a password for 'list' pseudocommand: any
When to require a password for 'verify' pseudocommand: all
File containing dummy exec functions: /usr/lib/sudo/sudo_noexec.so
Reset the environment to a default set of variables
Environment variables to check for sanity:
TERM
LINGUAS
LC_*
LANGUAGE
LANG
COLORTERM
Environment variables to remove:
RUBYOPT
RUBYLIB
PYTHONINSPECT
PYTHONPATH
PYTHONHOME
TMPPREFIX
ZDOTDIR
READNULLCMD
NULLCMD
FPATH
PERL5DB
PERL5OPT
PERL5LIB
PERLLIB
PERLIO_DEBUG
JAVA_TOOL_OPTIONS
SHELLOPTS
GLOBIGNORE
PS4
BASH_ENV
ENV
TERMCAP
TERMPATH
TERMINFO_DIRS
TERMINFO
_RLD*
LD_*
PATH_LOCALE
NLSPATH
HOSTALIASES
RES_OPTIONS
LOCALDOMAIN
PS4
SHELLOPTS
CDPATH
IFS
Environment variables to preserve:
http_proxy
XAUTHORIZATION
XAUTHORITY
TZ
PS2
PS1
PATH
MAIL
LS_COLORS
KRB5CCNAME
HOSTNAME
HOME
DISPLAY
COLORS
Local IP address and netmask pairs:
10.10.10.93 / 255.255.255.240
fe80::213:21ff:fe77:3779 / ffff:ffff:ffff:ffff::

Divné prostě je, že sudo neprovede nic, a nevyhodí ani chybu. Můžeš pak ještě přidat výpis z logu
Kód: [Vybrat]
grep -i sudo /var/log/auth.log | tail
Název: Re: synaptic - heslo
Přispěvatel: standa 16 Října 2009, 21:00:16
zítra, dík, teď už musím - dám sem ten výpis zítra. Zatím Ď
Název: Re: synaptic - heslo
Přispěvatel: standa 17 Října 2009, 07:00:27
Nelze uložit soubor home/skript

Nemáte oprávnění pro uložení souboru. Zkontrolujte prosím, že jste umístění napsali správně, a zkuste to znovu.


Toto mě vypsalo, prosím Tě, ještě - jak ukládáte ten výpis do toho šedého rámečku ? Dík.

toto je výpis z logu :

standa@PC904:~$ grep -i sudo /var/log/auth.log | tail
Oct 16 10:37:04 PC904 sudo:   standa : 1 incorrect password attempt ; TTY=pts/0 ; PWD=/home/standa ; USER=root ; COMMAND=/usr/bin/gedit /etc/hosts
Oct 16 10:49:45 PC904 sudo: pam_smbpass(sudo:auth): Error loading service file /etc/samba/smb.conf
Oct 16 10:50:17 PC904 sudo: pam_smbpass(sudo:auth): Error loading service file /etc/samba/smb.conf
Oct 16 11:08:53 PC904 sudo: pam_smbpass(sudo:auth): Error loading service file /etc/samba/smb.conf
Oct 16 11:18:42 PC904 sudo: pam_smbpass(sudo:auth): Error loading service file /etc/samba/smb.conf
Oct 16 11:31:38 PC904 sudo: pam_smbpass(sudo:auth): Error loading service file /etc/samba/smb.conf
Oct 16 12:21:35 PC904 sudo: pam_smbpass(sudo:auth): Error loading service file /etc/samba/smb.conf
Oct 16 13:39:36 PC904 sudo: pam_smbpass(sudo:auth): Error loading service file /etc/samba/smb.conf
Oct 16 19:10:52 PC904 sudo: pam_smbpass(sudo:auth): Error loading service file /etc/samba/smb.conf
Oct 17 07:08:31 PC904 sudo: pam_smbpass(sudo:auth): Error loading service file /etc/samba/smb.conf
standa@PC904:~$

něco ze sambou ? ale tu nepoužívám, mám jen jeden počítač.
Název: Re: synaptic - heslo
Přispěvatel: arrange 17 Října 2009, 11:07:32
Nelze uložit soubor home/skript

Nemáte oprávnění pro uložení souboru. Zkontrolujte prosím, že jste umístění napsali správně, a zkuste to znovu.

Toto mě vypsalo, prosím Tě, ještě - jak ukládáte ten výpis do toho šedého rámečku ? Dík.
Pardon, ulož to jako /home/standa/skript, ne /home/skript.

Šedý rámeček je ukládání do kódu (viz ikonka (http://forum.ubuntu.cz/Themes/Ubuntu/images/bbc/code.gif) nahoře při odpovědi).

Ta samba s tím asi nesouvisí, ale jestli ji nepotřebuješ, je stejně lepší ji odinstalovat.
Název: Re: synaptic - heslo
Přispěvatel: standa 17 Října 2009, 12:18:52
tady je vypis.txt

Kód: [Vybrat]
# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
#

Defaults env_reset

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root ALL=(ALL) ALL

# Uncomment to allow members of group sudo to not need a password
# (Note that later entries override this, so you might need to move
# it further down)
# %sudo ALL=NOPASSWD: ALL

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
Sudo version 1.6.9p17

Sudoers path: /etc/sudoers
Authentication methods: 'pam'
Syslog facility if syslog is being used for logging: authpriv
Syslog priority to use when user authenticates successfully: notice
Syslog priority to use when user authenticates unsuccessfully: alert
Send mail if the user is not in sudoers
Use a separate timestamp for each user/tty combo
Lecture user the first time they run sudo
Require users to authenticate by default
Root may run sudo
Allow some information gathering to give useful error messages
Require fully-qualified hostnames in the sudoers file
Visudo will honor the EDITOR environment variable
Set the LOGNAME and USER environment variables
Length at which to wrap log file lines (0 for no wrap): 80
Authentication timestamp timeout: 15 minutes
Password prompt timeout: 0 minutes
Number of tries to enter a password: 3
Umask to use or 0777 to use user's: 022
Path to mail program: /usr/sbin/sendmail
Flags for mail program: -t
Address to send mail to: root
Subject line for mail messages: *** SECURITY information for %h ***
Incorrect password message: Sorry, try again.
Path to authentication timestamp dir: /var/run/sudo
Default password prompt: [sudo] password for %p:
Default user to run commands as: root
Path to the editor for use by visudo: /usr/bin/editor
When to require a password for 'list' pseudocommand: any
When to require a password for 'verify' pseudocommand: all
File containing dummy exec functions: /usr/lib/sudo/sudo_noexec.so
Reset the environment to a default set of variables
Environment variables to check for sanity:
TERM
LINGUAS
LC_*
LANGUAGE
LANG
COLORTERM
Environment variables to remove:
RUBYOPT
RUBYLIB
PYTHONINSPECT
PYTHONPATH
PYTHONHOME
TMPPREFIX
ZDOTDIR
READNULLCMD
NULLCMD
FPATH
PERL5DB
PERL5OPT
PERL5LIB
PERLLIB
PERLIO_DEBUG
JAVA_TOOL_OPTIONS
SHELLOPTS
GLOBIGNORE
PS4
BASH_ENV
ENV
TERMCAP
TERMPATH
TERMINFO_DIRS
TERMINFO
_RLD*
LD_*
PATH_LOCALE
NLSPATH
HOSTALIASES
RES_OPTIONS
LOCALDOMAIN
PS4
SHELLOPTS
CDPATH
IFS
Environment variables to preserve:
http_proxy
XAUTHORIZATION
XAUTHORITY
TZ
PS2
PS1
PATH
MAIL
LS_COLORS
KRB5CCNAME
HOSTNAME
HOME
DISPLAY
COLORS
Local IP address and netmask pairs:
192.168.1.34 / 255.255.255.0
fe80::250:fcff:fee1:a470 / ffff:ffff:ffff:ffff::

Název: Re: synaptic - heslo
Přispěvatel: arrange 17 Října 2009, 16:57:57
Všechno vypadá dobře, až na to, že to nefunguje  :D

Máš tam jiného uživatele než sebe? Zkusíš se do něj přihlásit tímto způsobem
Kód: [Vybrat]
su uživatelJako heslo zadáváš heslo toho uživatele, ne svoje. Funguje?

Jinak - co vypíše
Kód: [Vybrat]
sudo -i
sudo -s
id
grep root /etc/passwd
grep sudo /var/log/auth.log | grep -v samba | tail
Název: Re: synaptic - heslo
Přispěvatel: standa 17 Října 2009, 17:07:42
jiný uživatel NENÍ

výpis :

Kód: [Vybrat]
standa@PC904:~$ sudo -i
[sudo] password for standa:
standa@PC904:~$ sudo -s
[sudo] password for standa:
standa@PC904:~$ id
uid=1000(standa) gid=1000(standa) skupiny=4(adm),20(dialout),24(cdrom),46(plugdev),106(lpadmin),121(admin),122(sambashare),1000(standa)
standa@PC904:~$ grep root /etc/passwd
root:x:0:0:root:/root:/bin/bash
standa@PC904:~$ grep sudo /var/log/auth.log | grep -v samba | tail
Oct 16 10:19:13 PC904 sudo:   standa : unable to resolve host PC904
Oct 16 10:33:16 PC904 sudo: pam_unix(sudo:auth): authentication failure; logname=standa uid=0 euid=0 tty=/dev/pts/0 ruser= rhost=  user=standa
Oct 16 10:35:12 PC904 sudo: pam_unix(sudo:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=  user=standa
Oct 16 10:35:16 PC904 sudo:   standa : 1 incorrect password attempt ; TTY=unknown ; PWD=/home/standa ; USER=root ; COMMAND=/usr/sbin/synaptic
Oct 16 10:36:27 PC904 sudo: pam_unix(sudo:auth): authentication failure; logname=standa uid=0 euid=0 tty=/dev/pts/0 ruser= rhost=  user=standa
Oct 16 10:36:32 PC904 sudo:   standa : 1 incorrect password attempt ; TTY=pts/0 ; PWD=/home/standa ; USER=root ; COMMAND=/usr/bin/gedit /etc/hosts
Oct 16 10:36:48 PC904 sudo: pam_unix(sudo:auth): authentication failure; logname=standa uid=0 euid=0 tty=/dev/pts/0 ruser= rhost=  user=standa
Oct 16 10:36:52 PC904 sudo:   standa : 1 incorrect password attempt ; TTY=pts/0 ; PWD=/home/standa ; USER=root ; COMMAND=/usr/bin/gedit /etc/hosts
Oct 16 10:37:00 PC904 sudo: pam_unix(sudo:auth): authentication failure; logname=standa uid=0 euid=0 tty=/dev/pts/0 ruser= rhost=  user=standa
Oct 16 10:37:04 PC904 sudo:   standa : 1 incorrect password attempt ; TTY=pts/0 ; PWD=/home/standa ; USER=root ; COMMAND=/usr/bin/gedit /etc/hosts
standa@PC904:~$
Název: Re: synaptic - heslo
Přispěvatel: arrange 17 Října 2009, 17:44:55
Tak přece jen něco v tom logu /var/log/auth.log je. Můžeš ho někam uploadovat, ať se můžu podívat na celý?

Taky ještě výpis z
Kód: [Vybrat]
cd /etc/pam.d
ls -l
grep '^[^#]' su
grep '^[^#]' sudo
grep '^[^#]' common-auth
locate smb.conf
uname -a

Zkus si taky vzpomenout, cos' dělal předtím, než ti to přestalo fungovat.
Název: Re: synaptic - heslo
Přispěvatel: standa 17 Října 2009, 20:28:05
ten výpis /var/log/auth.log je dlouhý - zkrátím ho, jelikož na začátku ze dne 15.10. 2009 je název počítače PC-904 a potom z téhož dne je název počítače už jen PC904 : 


Kód: [Vybrat]
Oct 15 19:00:01 PC-904 CRON[6588]: pam_unix(cron:session): session opened for user root by (uid=0)
Oct 15 19:00:01 PC-904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.30" (uid=1000 pid=3904 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.41" (uid=0 pid=6588 comm="/USR/SBIN/CRON "))
Oct 15 19:00:01 PC-904 CRON[6590]: pam_unix(cron:session): session opened for user root by (uid=0)
Oct 15 19:00:01 PC-904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.30" (uid=1000 pid=3904 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.42" (uid=0 pid=6590 comm="/USR/SBIN/CRON "))
Oct 15 19:00:01 PC-904 CRON[6588]: pam_unix(cron:session): session closed for user root
Oct 15 19:00:02 PC-904 CRON[6590]: pam_unix(cron:session): session closed for user root
Oct 15 19:09:01 PC-904 CRON[7850]: pam_unix(cron:session): session opened for user root by (uid=0)
Oct 15 19:09:01 PC-904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.30" (uid=1000 pid=3904 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.43" (uid=0 pid=7850 comm="/USR/SBIN/CRON "))
Oct 15 19:09:01 PC-904 CRON[7850]: pam_unix(cron:session): session closed for user root
Oct 15 19:10:01 PC-904 CRON[7986]: pam_unix(cron:session): session opened for user root by (uid=0)
Oct 15 19:10:01 PC-904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.30" (uid=1000 pid=3904 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.44" (uid=0 pid=7986 comm="/USR/SBIN/CRON "))
Oct 15 19:10:02 PC-904 CRON[7986]: pam_unix(cron:session): session closed for user root
Oct 15 19:17:01 PC-904 CRON[8890]: pam_unix(cron:session): session opened for user root by (uid=0)
Oct 15 19:17:01 PC-904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.30" (uid=1000 pid=3904 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.45" (uid=0 pid=8890 comm="/USR/SBIN/CRON "))
Oct 15 19:17:01 PC-904 CRON[8890]: pam_unix(cron:session): session closed for user root
Oct 15 19:20:01 PC-904 CRON[9270]: pam_unix(cron:session): session opened for user root by (uid=0)
Oct 15 19:20:01 PC-904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.30" (uid=1000 pid=3904 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.46" (uid=0 pid=9270 comm="/USR/SBIN/CRON "))
Oct 15 19:20:02 PC-904 CRON[9270]: pam_unix(cron:session): session closed for user root
Oct 15 19:21:16 PC-904 dbus-daemon: Rejected send message, 3 matched rules; type="method_return", sender=":1.26" (uid=1000 pid=3851 comm="/usr/bin/python /usr/bin/blueman-applet ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply=0 destination=":1.10" (uid=0 pid=3227 comm="/usr/sbin/bluetoothd "))
Oct 15 19:30:01 PC-904 CRON[10577]: pam_unix(cron:session): session opened for user root by (uid=0)
Oct 15 19:30:01 PC-904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.30" (uid=1000 pid=3904 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.47" (uid=0 pid=10577 comm="/USR/SBIN/CRON "))
Oct 15 19:30:01 PC-904 CRON[10577]: pam_unix(cron:session): session closed for user root
Oct 15 19:39:01 PC-904 CRON[11733]: pam_unix(cron:session): session opened for user root by (uid=0)
Oct 15 19:39:01 PC-904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.30" (uid=1000 pid=3904 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.48" (uid=0 pid=11733 comm="/USR/SBIN/CRON "))
Oct 15 19:39:01 PC-904 CRON[11733]: pam_unix(cron:session): session closed for user root
Oct 15 19:40:01 PC-904 CRON[11855]: pam_unix(cron:session): session opened for user root by (uid=0)
Oct 15 19:40:01 PC-904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.30" (uid=1000 pid=3904 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.49" (uid=0 pid=11855 comm="/USR/SBIN/CRON "))
Oct 15 19:40:02 PC-904 CRON[11855]: pam_unix(cron:session): session closed for user root
Oct 15 19:50:01 PC-904 CRON[13098]: pam_unix(cron:session): session opened for user root by (uid=0)
Oct 15 19:50:01 PC-904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.30" (uid=1000 pid=3904 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.50" (uid=0 pid=13098 comm="/USR/SBIN/CRON "))
Oct 15 19:50:01 PC-904 CRON[13098]: pam_unix(cron:session): session closed for user root
Oct 15 20:00:01 PC-904 CRON[14356]: pam_unix(cron:session): session opened for user root by (uid=0)
Oct 15 20:00:01 PC-904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.30" (uid=1000 pid=3904 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.51" (uid=0 pid=14356 comm="/USR/SBIN/CRON "))
Oct 15 20:00:01 PC-904 CRON[14361]: pam_unix(cron:session): session opened for user root by (uid=0)
Oct 15 20:00:01 PC-904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.30" (uid=1000 pid=3904 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.52" (uid=0 pid=14361 comm="/USR/SBIN/CRON "))
Oct 15 20:00:02 PC-904 CRON[14356]: pam_unix(cron:session): session closed for user root
Oct 15 20:00:02 PC-904 CRON[14361]: pam_unix(cron:session): session closed for user root
Oct 15 20:09:01 PC-904 CRON[15518]: pam_unix(cron:session): session opened for user root by (uid=0)
Oct 15 20:09:01 PC-904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.30" (uid=1000 pid=3904 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.53" (uid=0 pid=15518 comm="/USR/SBIN/CRON "))
Oct 15 20:09:02 PC-904 CRON[15518]: pam_unix(cron:session): session closed for user root
Oct 15 20:10:01 PC-904 CRON[15696]: pam_unix(cron:session): session opened for user root by (uid=0)
Oct 15 20:10:01 PC-904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.30" (uid=1000 pid=3904 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.54" (uid=0 pid=15696 comm="/USR/SBIN/CRON "))
Oct 15 20:10:02 PC-904 CRON[15696]: pam_unix(cron:session): session closed for user root
Oct 15 20:17:01 PC-904 CRON[16645]: pam_unix(cron:session): session opened for user root by (uid=0)
Oct 15 20:17:01 PC-904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.30" (uid=1000 pid=3904 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.55" (uid=0 pid=16645 comm="/USR/SBIN/CRON "))
Oct 15 20:17:01 PC-904 CRON[16645]: pam_unix(cron:session): session closed for user root
Oct 15 20:19:06 PC-904 sudo:   standa : TTY=unknown ; PWD=/home/standa ; USER=root ; COMMAND=/usr/sbin/synaptic
Oct 15 20:20:01 PC-904 CRON[17042]: pam_unix(cron:session): session opened for user root by (uid=0)
Oct 15 20:20:01 PC-904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.30" (uid=1000 pid=3904 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.56" (uid=0 pid=17042 comm="/USR/SBIN/CRON "))
Oct 15 20:20:04 PC-904 CRON[17042]: pam_unix(cron:session): session closed for user root
Oct 15 20:25:32 PC-904 sudo:   standa : TTY=pts/0 ; PWD=/home/standa ; USER=root ; COMMAND=/etc/init.d/samba restart
Oct 15 20:26:01 PC-904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.30" (uid=1000 pid=3904 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.57" (uid=1000 pid=18032 comm="/usr/lib/gvfs/gvfsd-dnssd --spawner :1.5 /org/gtk/"))
Oct 15 20:30:01 PC-904 CRON[18371]: pam_unix(cron:session): session opened for user root by (uid=0)
Oct 15 20:30:01 PC-904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.30" (uid=1000 pid=3904 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.58" (uid=0 pid=18371 comm="/USR/SBIN/CRON "))
Oct 15 20:30:02 PC-904 CRON[18371]: pam_unix(cron:session): session closed for user root
Oct 15 20:33:16 PC-904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.30" (uid=1000 pid=3904 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.59" (uid=0 pid=18921 comm="/usr/lib/libgconf2-4/gconfd-2 "))
Oct 15 20:33:46 PC-904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.30" (uid=1000 pid=3904 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.60" (uid=0 pid=19258 comm="/usr/lib/libgconf2-4/gconfd-2 "))
Oct 15 20:35:54 PC-904 sudo:   standa : TTY=pts/0 ; PWD=/home/standa ; USER=root ; COMMAND=/etc/init.d/samba restart
Oct 15 20:36:06 PC-904 sudo:   standa : TTY=pts/0 ; PWD=/home/standa ; USER=root ; COMMAND=/etc/init.d/samba restart
Oct 15 20:37:23 PC-904 sudo:   standa : TTY=unknown ; PWD=/home/standa ; USER=root ; COMMAND=/usr/sbin/synaptic --hide-main-window --non-interactive --set-selections-file /tmp/packages.hj7iFU --parent-window-id 20974095
Oct 15 20:37:34 PC-904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.30" (uid=1000 pid=3904 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.61" (uid=0 pid=19695 comm="/usr/lib/libgconf2-4/gconfd-2 "))
Oct 15 20:39:01 PC-904 CRON[20176]: pam_unix(cron:session): session opened for user root by (uid=0)
Oct 15 20:39:01 PC-904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.30" (uid=1000 pid=3904 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.62" (uid=0 pid=20176 comm="/USR/SBIN/CRON "))
Oct 15 20:39:01 PC-904 CRON[20176]: pam_unix(cron:session): session closed for user root
Oct 15 20:40:01 PC-904 CRON[20365]: pam_unix(cron:session): session opened for user root by (uid=0)
Oct 15 20:40:01 PC-904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.30" (uid=1000 pid=3904 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.63" (uid=0 pid=20365 comm="/USR/SBIN/CRON "))
Oct 15 20:40:02 PC-904 CRON[20365]: pam_unix(cron:session): session closed for user root
Oct 15 20:41:35 PC-904 sudo:   standa : TTY=pts/0 ; PWD=/home/standa ; USER=root ; COMMAND=/usr/bin/gedit /etc/hostname
Oct 15 20:41:36 PC-904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.30" (uid=1000 pid=3904 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.64" (uid=0 pid=20731 comm="/usr/lib/libgconf2-4/gconfd-2 "))
Oct 15 20:43:07 PC-904 sudo:   standa : TTY=pts/0 ; PWD=/home/standa ; USER=root ; COMMAND=/usr/bin/gedit /etc/hostname
Oct 15 20:43:07 PC-904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.30" (uid=1000 pid=3904 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.65" (uid=0 pid=20949 comm="/usr/lib/libgconf2-4/gconfd-2 "))
Oct 15 20:44:52 PC-904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.30" (uid=1000 pid=3904 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.66" (uid=1000 pid=21182 comm="/usr/sbin/apache2 -f /usr/share/gnome-user-share/d"))
Oct 15 20:44:52 PC-904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.30" (uid=1000 pid=3904 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.67" (uid=1000 pid=21168 comm="/usr/lib/gnome-user-share/gnome-user-share "))
Oct 15 20:45:26 PC-904 sudo:   standa : TTY=unknown ; PWD=/home/standa ; USER=root ; COMMAND=/usr/bin/gtkorphan
Oct 15 20:50:01 PC-904 CRON[21698]: pam_unix(cron:session): session opened for user root by (uid=0)
Oct 15 20:50:01 PC-904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.30" (uid=1000 pid=3904 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.68" (uid=0 pid=21698 comm="/USR/SBIN/CRON "))
Oct 15 20:50:02 PC-904 CRON[21698]: pam_unix(cron:session): session closed for user root
Oct 15 20:55:40 PC-904 gdm[3265]: pam_unix(gdm-autologin:session): session closed for user standa
Oct 15 21:42:43 PC904 gdm[3300]: pam_unix(gdm-autologin:session): session opened for user standa by (uid=0)
Oct 15 21:42:44 PC904 gdm[3300]: pam_ck_connector(gdm-autologin:session): nox11 mode, ignoring PAM_TTY :0
Oct 15 21:43:15 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.6" (uid=0 pid=3163 comm="python /usr/share/wicd/monitor.py "))
Oct 15 21:43:16 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.19" (uid=1000 pid=3834 comm="/usr/lib/gvfs/gvfs-hal-volume-monitor "))
Oct 15 21:43:16 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.18" (uid=1000 pid=3711 comm="x-session-manager "))
Oct 15 21:43:16 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.17" (uid=1000 pid=3788 comm="/usr/bin/pulseaudio --start "))
Oct 15 21:43:16 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.28" (uid=1000 pid=3849 comm="/usr/bin/python /usr/bin/blueman-applet "))
Oct 15 21:43:16 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.16" (uid=1000 pid=3791 comm="/usr/lib/libgconf2-4/gconfd-2 "))
Oct 15 21:43:16 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.27" (uid=1000 pid=3845 comm="/usr/lib/vino/vino-server "))
Oct 15 21:43:16 PC904 dbus-daemon: Rejected send message, 2 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.2" (uid=0 pid=3018 comm="/usr/sbin/console-kit-daemon "))
Oct 15 21:43:16 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.15" (uid=1000 pid=3785 comm="/usr/bin/pulseaudio --start "))
Oct 15 21:43:16 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.26" (uid=1000 pid=3832 comm="nautilus "))
Oct 15 21:43:16 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.14" (uid=0 pid=3300 comm="/usr/sbin/gdm "))
Oct 15 21:43:16 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.25" (uid=1000 pid=3850 comm="python /usr/share/wicd/wicd-client.py "))
Oct 15 21:43:16 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.24" (uid=1000 pid=3860 comm="update-notifier --startup-delay=60 "))
Oct 15 21:43:16 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.23" (uid=1000 pid=3848 comm="/usr/lib/gnome-user-share/gnome-user-share "))
Oct 15 21:43:16 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.22" (uid=1000 pid=3872 comm="gnome-power-manager "))
Oct 15 21:43:16 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.21" (uid=1000 pid=3863 comm="/usr/sbin/apache2 -f /usr/share/gnome-user-share/d"))
Oct 15 21:43:16 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a"))
Oct 15 21:43:16 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.20" (uid=1000 pid=3838 comm="/usr/lib/gvfs/gvfs-gphoto2-volume-monitor "))
Oct 15 21:43:16 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.31" (uid=1000 pid=3901 comm="/usr/bin/obex-data-server --no-daemon  "))
Oct 15 21:43:16 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.9" (uid=0 pid=3203 comm="/usr/lib/hal/hald-addon-storage "))
Oct 15 21:43:16 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.8" (uid=0 pid=3202 comm="/usr/lib/hal/hald-addon-storage "))
Oct 15 21:43:16 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.7" (uid=0 pid=3201 comm="/usr/lib/hal/hald-addon-storage "))
Oct 15 21:43:16 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.33" (uid=1000 pid=3822 comm="gnome-keyring-daemon --start "))
Oct 15 21:43:16 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.34" (uid=1000 pid=3845 comm="/usr/lib/vino/vino-server "))
Oct 15 21:43:16 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.35" (uid=1000 pid=3830 comm="gnome-panel "))
Oct 15 21:43:26 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.36" (uid=1000 pid=3926 comm="/usr/lib/fast-user-switch-applet/fast-user-switch-"))
Oct 15 21:43:29 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.37" (uid=1000 pid=4010 comm="gnome-screensaver "))
Oct 15 21:43:33 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.38" (uid=1000 pid=3855 comm="python /usr/share/system-config-printer/applet.py "))
Oct 15 21:46:27 PC904 sudo:   standa : unable to resolve host PC904
Oct 15 21:46:33 PC904 sudo:   standa : TTY=unknown ; PWD=/home/standa ; USER=root ; COMMAND=/usr/sbin/synaptic
Oct 15 21:46:58 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.39" (uid=1000 pid=4397 comm="/usr/lib/firefox-3.5.3/firefox-3.5 "))
Oct 15 21:48:19 PC904 sudo:   standa : unable to resolve host PC904
Oct 15 21:48:19 PC904 sudo:   standa : TTY=unknown ; PWD=/home/standa ; USER=root ; COMMAND=/usr/sbin/synaptic --hide-main-window --non-interactive --parent-window-id 71303171 --set-selections-file /tmp/tmp5i2SBR
Oct 15 21:48:41 PC904 sudo:   standa : unable to resolve host PC904
Oct 15 21:48:41 PC904 sudo:   standa : TTY=unknown ; PWD=/home/standa ; USER=root ; COMMAND=/usr/sbin/synaptic --hide-main-window --non-interactive --parent-window-id 65011715 --set-selections-file /tmp/tmpMcuCgO
Oct 15 21:48:54 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.40" (uid=0 pid=4972 comm="/usr/lib/libgconf2-4/gconfd-2 "))
Oct 15 21:49:29 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.41" (uid=0 pid=5176 comm="/usr/lib/libgconf2-4/gconfd-2 "))
Oct 15 21:49:33 PC904 useradd[5355]: new user: name=statd, UID=126, GID=65534, home=/var/lib/nfs, shell=/bin/false
Oct 15 21:49:33 PC904 usermod[5360]: change user `statd' password
Oct 15 21:49:33 PC904 chage[5365]: changed password expiry for statd
Oct 15 21:50:01 PC904 CRON[5724]: pam_unix(cron:session): session opened for user root by (uid=0)
Oct 15 21:50:01 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.42" (uid=0 pid=5724 comm="/USR/SBIN/CRON "))
Oct 15 21:50:13 PC904 CRON[5724]: pam_unix(cron:session): session closed for user root
Oct 15 21:51:16 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.43" (uid=1000 pid=6077 comm="/usr/lib/gvfs/gvfsd-dnssd --spawner :1.5 /org/gtk/"))
Oct 15 21:51:26 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.44" (uid=1000 pid=6084 comm="/usr/lib/gvfs/gvfsd-dav --spawner :1.5 /org/gtk/gv"))
Oct 15 21:53:25 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.45" (uid=1000 pid=6317 comm="/usr/bin/python -OO ubuntu-tweak.py "))
Oct 15 21:53:37 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.46" (uid=0 pid=6328 comm="/usr/bin/ubuntu-tweak-daemon "))
Oct 15 21:53:37 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.47" (uid=0 pid=6330 comm="/usr/bin/python /usr/share/ubuntu-tweak/backends/p"))
Oct 15 21:53:38 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.48" (uid=1000 pid=6333 comm="/usr/lib/policykit-gnome/polkit-gnome-manager "))
Oct 15 21:53:38 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.49" (uid=1000 pid=6334 comm="/usr/lib/policykit/polkit-grant-helper 6317 com.ub"))
Oct 15 21:53:38 PC904 dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.32" (uid=1000 pid=3906 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.50" (uid=1000 pid=6337 comm="/usr/lib/policykit/polkit-grant-helper 6317 com.ub"))
Oct 15 21:53:45 PC904 polkit-grant-helper[6337]: granted authorization for com.ubuntu-tweak.daemon to uid 1000 [auth=standa]
Oct 15 21:53:53 PC904 sudo:   standa : unable to resolve host PC904
Oct 15 21:53:53 PC904 sudo:   standa : TTY=unknown ; PWD=/usr/share/ubuntu-tweak ; USER=root ; COMMAND=/usr/sbin/synaptic --hide-main-window --non-interactive -o Synaptic::closeZvt=true --parent-window-id 29360170 --set-selections-file /tmp/tmpDntjBE
Oct 15 21:55:23 PC904 sudo:     root : unable to resolve host PC904
Oct 15 21:55:23 PC904 sudo:     root : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/usr/bin/dpkg --purge abe
Oct 15 21:55:26 PC904 sudo:     root : unable to resolve host PC904

Oct 16 08:03:27 PC904 dbus-daemon: Rejected send message, 2 matched rules; type="method_call", sender=":1.27" (uid=1000 pid=4047 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.2" (uid=0 pid=3186 comm="/usr/sbin/console-kit-daemon "))
Název: Re: synaptic - heslo
Přispěvatel: standa 17 Října 2009, 20:32:00
mám pouze HD 20 GB a už se blížilo zaplnění, tak jsem přes UBUNTU TWEAK /čistič balíků čistil
Název: Re: synaptic - heslo
Přispěvatel: standa 17 Října 2009, 20:34:56
výpis číslo II :

Kód: [Vybrat]
standa@PC904:~$ cd /etc/pam.d
standa@PC904:/etc/pam.d$ ls -l
celkem 80
-rw-r--r-- 1 root root  182 2009-04-17 09:53 atd
-rw-r--r-- 1 root root 1208 2009-10-15 20:38 common-account
-rw-r--r-- 1 root root 1260 2009-10-15 20:38 common-auth
-rw-r--r-- 1 root root 1509 2009-10-15 20:38 common-password
-rw-r--r-- 1 root root 1201 2009-10-15 20:38 common-session
-rw-r--r-- 1 root root  289 2008-11-12 16:47 cron
-rw-r--r-- 1 root root   69 2009-04-17 11:16 cups
-rw-r--r-- 1 root root  400 2009-04-03 10:23 gdm
-rw-r--r-- 1 root root  316 2009-04-03 10:23 gdm-autologin
-rw-r--r-- 1 root root   56 2009-04-12 01:48 gnome-screensaver
-rw-r--r-- 1 root root  384 2009-04-04 07:42 chfn
-rw-r--r-- 1 root root  581 2009-04-04 07:42 chsh
-rw-r--r-- 1 root root 3592 2009-04-04 07:42 login
-rw-r--r-- 1 root root  520 2009-03-21 10:28 other
-rw-r--r-- 1 root root   92 2009-04-04 07:42 passwd
-rw-r--r-- 1 root root  105 2009-01-09 04:19 polkit
-rw-r--r-- 1 root root  168 2009-02-20 18:24 ppp
-rw-r--r-- 1 root root   69 2009-03-27 17:18 samba
-rw-r--r-- 1 root root 2305 2009-04-04 07:42 su
-rw-r--r-- 1 root root  119 2009-02-17 04:22 sudo
standa@PC904:/etc/pam.d$ grep '^[^#]' su
auth       sufficient pam_rootok.so
session       required   pam_env.so readenv=1
session       required   pam_env.so readenv=1 envfile=/etc/default/locale
session    optional   pam_mail.so nopen
@include common-auth
@include common-account
@include common-session
standa@PC904:/etc/pam.d$ grep '^[^#]' sudo
@include common-auth
@include common-account
session required pam_permit.so
session required pam_limits.so
standa@PC904:/etc/pam.d$ grep '^[^#]' common-auth
auth [success=1 default=ignore] pam_unix.so nullok_secure
auth requisite pam_deny.so
auth required pam_permit.so
auth optional pam_smbpass.so migrate
standa@PC904:/etc/pam.d$ locate smb.conf
/usr/share/doc/nautilus-share/examples/smb.conf
/usr/share/man/man5/smb.conf.5.gz
/var/lib/ucf/cache/:etc:samba:smb.conf
standa@PC904:/etc/pam.d$ uname -a
Linux PC904 2.6.28-15-generic #52-Ubuntu SMP Wed Sep 9 10:49:34 UTC 2009 i686 GNU/Linux
standa@PC904:/etc/pam.d$

Název: Re: synaptic - heslo
Přispěvatel: arrange 17 Října 2009, 21:14:10
Že by přece jenom ta samba... Přitom ji asi nemáš nainstalovanou, zřejmě ti to ten program odstranil. Takže ještě
Kód: [Vybrat]
hostname
cat /etc/hostname
dpkg -l | grep samba
grep 904 /etc/hosts

Možná by ještě pomohlo se podívat do /var/log/apt/term.log, kde najdeš záznam toho, co se (od)instalovalo, ale přístup má jen root, takže leda z LiveCD  >:( Když si tam najdeš podle data to inkriminované místo (15.10? 14.10? - Ubuntu-tweak akce), možná zjistíme, co se přesně odinstalovalo a s jakým (ne)úspěchem.
Název: Re: synaptic - heslo
Přispěvatel: standa 17 Října 2009, 21:23:35
tady :

Kód: [Vybrat]
standa@PC904:~$ hostname
PC904
standa@PC904:~$ cat /etc/hostname
PC904
standa@PC904:~$ dpkg -l | grep samba
ii  python-ldb-samba4                          4.0.0~alpha6-1ubuntu1                     Python bindings for LDB - Samba 4 version
rc  samba                                      2:3.3.2-1ubuntu3.2                        SMB/CIFS file, print, and login server for U
ii  samba-common                               2:3.3.2-1ubuntu3.2                        common files used by both the Samba server a
standa@PC904:~$ grep 904 /etc/hosts
127.0.1.1 PC904
standa@PC904:~$
Název: Re: synaptic - heslo
Přispěvatel: arrange 17 Října 2009, 21:42:04
Řekl bych, že přesný čas, kdy došlo k průšvihu, je 20.10. ve 20:38  :D (viz výpis z adresáře /etc/pam.d). To je ale jen hypotéza. Ověříme to:

budeš muset jít do recovery mode (http://wiki.ubuntu.cz/RecoveryMode) a přeinstalovat sambu. Zvol netroot a nejdřív ji nainstaluj a pak odinstaluj. Pokud to píše nějaké chyby, nahrej si log, abychom se pak na něj mohli podívat.
Kód: [Vybrat]
apt-get install samba
apt-get purge samba
apt-get purge samba-common
cp /var/log/apt/term.log /home/standa/term.log
chown standa /home/standa/term.log

Pak do Ubuntu a vyzkoušej sudo. Pokud nefunguje, dej tady výpis z
Kód: [Vybrat]
dpkg -l | grep samba
cd /etc/pam.d
ls -l
grep '^[^#]' common*

Můžeš taky udělat výběr z toho uloženého logu /home/standa/term.log.
Název: Re: synaptic - heslo
Přispěvatel: standa 17 Října 2009, 22:17:10
ten term.log není - neuložil se

Kód: [Vybrat]
standa@PC904:~$ dpkg -l | grep samba
ii  python-ldb-samba4                          4.0.0~alpha6-1ubuntu1                     Python bindings for LDB - Samba 4 version
ii  samba-common                               2:3.3.2-1ubuntu3.2                        common files used by both the Samba server a
standa@PC904:~$ cd /etc/pam.d
standa@PC904:/etc/pam.d$ ls -l
celkem 80
-rw-r--r-- 1 root root  182 2009-04-17 09:53 atd
-rw-r--r-- 1 root root 1208 2009-10-15 20:38 common-account
-rw-r--r-- 1 root root 1260 2009-10-15 20:38 common-auth
-rw-r--r-- 1 root root 1509 2009-10-15 20:38 common-password
-rw-r--r-- 1 root root 1201 2009-10-15 20:38 common-session
-rw-r--r-- 1 root root  289 2008-11-12 16:47 cron
-rw-r--r-- 1 root root   69 2009-04-17 11:16 cups
-rw-r--r-- 1 root root  400 2009-04-03 10:23 gdm
-rw-r--r-- 1 root root  316 2009-04-03 10:23 gdm-autologin
-rw-r--r-- 1 root root   56 2009-04-12 01:48 gnome-screensaver
-rw-r--r-- 1 root root  384 2009-04-04 07:42 chfn
-rw-r--r-- 1 root root  581 2009-04-04 07:42 chsh
-rw-r--r-- 1 root root 3592 2009-04-04 07:42 login
-rw-r--r-- 1 root root  520 2009-03-21 10:28 other
-rw-r--r-- 1 root root   92 2009-04-04 07:42 passwd
-rw-r--r-- 1 root root  105 2009-01-09 04:19 polkit
-rw-r--r-- 1 root root  168 2009-02-20 18:24 ppp
-rw-r--r-- 1 root root   69 2009-03-27 17:18 samba
-rw-r--r-- 1 root root 2305 2009-04-04 07:42 su
-rw-r--r-- 1 root root  119 2009-02-17 04:22 sudo
standa@PC904:/etc/pam.d$ grep '^[^#]' common*
common-account:account [success=1 new_authtok_reqd=done default=ignore] pam_unix.so
common-account:account requisite pam_deny.so
common-account:account required pam_permit.so
common-auth:auth [success=1 default=ignore] pam_unix.so nullok_secure
common-auth:auth requisite pam_deny.so
common-auth:auth required pam_permit.so
common-auth:auth optional pam_smbpass.so migrate
common-password:password [success=1 default=ignore] pam_unix.so obscure sha512
common-password:password requisite pam_deny.so
common-password:password required pam_permit.so
common-password:password optional pam_smbpass.so nullok use_authtok use_first_pass
common-session:session [default=1] pam_permit.so
common-session:session requisite pam_deny.so
common-session:session required pam_permit.so
common-session:session required pam_unix.so
common-session:session optional pam_ck_connector.so nox11
standa@PC904:/etc/pam.d$
Název: Re: synaptic - heslo
Přispěvatel: standa 17 Října 2009, 22:32:17
přes LIVE CD jsem získal ten " term.log " a kupodivu od 8.10. do dneška tam nic není :

Kód: [Vybrat]
Log started: 2009-10-08  09:05:27
(Čtu databázi ... nyní je nainstalováno 328947 souborů a adresářů.)
Odinstalování balíku octave3.0-doc ...
Odinstalování balíku octave3.0-htmldoc ...
Odinstalování balíku octave3.0-info ...
Zpracování spouštěčů pro balík doc-base ...
Processing 3 removed doc-base file(s)...
Registering documents with scrollkeeper...
Log ended: 2009-10-08  09:05:32


Log started: 2009-10-17  22:07:55
Selecting previously deselected package samba.
(Reading database ... 284534 files and directories currently installed.)
Unpacking samba (from .../samba_2%3a3.3.2-1ubuntu3.2_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for ufw ...
Setting up samba (2:3.3.2-1ubuntu3.2) ...
/var/lib/dpkg/info/samba.postinst: 81: cannot create /etc/samba/smbpasswd: Directory nonexistent
dpkg: error processing samba (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 samba
Log ended: 2009-10-17  22:08:31

Log started: 2009-10-17  22:08:55
(Reading database ... 284593 files and directories currently installed.)
Removing samba ...
 * Stopping Samba daemons       
[ OK ]
Warning: Operation  --disable is not supported by rlinetd's version of update-inetd
invoke-rc.d: initscript rlinetd, action "force-reload" failed.
Purging configuration files for samba ...
Removing configuration file /etc/default/samba...
Warning: Operation  --remove is not supported by rlinetd's version of update-inetd
invoke-rc.d: initscript rlinetd, action "force-reload" failed.
Removing configuration file /etc/default/samba...
Warning: Operation  --remove is not supported by rlinetd's version of update-inetd
invoke-rc.d: initscript rlinetd, action "force-reload" failed.
Processing triggers for ufw ...
Processing triggers for man-db ...
Log ended: 2009-10-17  22:09:01
Název: Re: synaptic - heslo
Přispěvatel: arrange 17 Října 2009, 22:58:48
Neodstranil jsi samba-common. No, snad už se blížíme k rozuzlení. Ještě (snad naposledy) najeď do recovery a odstraň
Kód: [Vybrat]
apt-get purge samba-common libpam-smbpass
Pak zkontroluj, jestli se odstranil i modul pam_smbpass.so
Kód: [Vybrat]
cd /etc/pam.d
grep smbpass common-auth common-password

Jestli se ti nevypíše nic, je to OK. Pokud ale ve výpisu najdeš řádek, který obsahuje modul pam_smbpass.so, tak ho zkusíme zrušit pomocí
Kód: [Vybrat]
cd /etc/pam.d
sed -i.zaloha 's:\(.*smbpass.*\):#\1:' common-auth
sed -i.zaloha 's:\(.*smbpass.*\):#\1:' common-password
Pokud se ti to všechno nechce opisovat, ulož si do skriptů tak, jak jsme to dělali předtím :)
Název: Re: synaptic - heslo
Přispěvatel: standa 17 Října 2009, 23:18:52
po provedení se nevypsalo nic

teď se začala v sys. liště zobrazovat žlutá hvězdička s černým vykřičníkem " Rozpoznáno oznámení o pádu"
ROOT stále nefunguje
Název: Re: synaptic - heslo
Přispěvatel: arrange 17 Října 2009, 23:35:39
Ten grep nevypsal nic? Takže jsi ty příkazy sed neaplikoval?

Jaký program padá?

?Co vypíše
Kód: [Vybrat]
dpkg -l | egrep 'samba|smbpass'
cd /etc/pam.d
grep '^[^#]' common*
Název: Re: synaptic - heslo
Přispěvatel: standa 18 Října 2009, 07:58:21
omlouvám se - UŽ FUNGUJE , zapomněl jsem zadat ty příkazy :

cd /etc/pam.d
sed -i.zaloha 's:\(.*smbpass.*\):#\1:' common-auth
sed -i.zaloha 's:\(.*smbpass.*\):#\1:' common-password

po tomto zadání už ROOT funguje.

Moc děkuji *S*