Fórum Ubuntu CZ/SK
Ostatní => Archiv => Téma založeno: ladis 09 Března 2007, 10:02:32
-
Ahoj,
něco jsem proved a hotovo.
Je to možná jednoduchý, ale ja jedu v linuxu pár dnů a nevim co to je.
At napisu jakejkoliv příkaz začínající sudo např.
ladis@olegunar:~$ sudo iwconfig eth1 essid "omacka"
Tak mi vyplivne toto:
sudo: unable to lookup olegunar via gethostbyname()
Neptá se mě ani na heslo
i když dám
sudo -s
když dám jen
su
tak se zeptá na heslo, já ho zadám, ale řekně něco jako
lituji ......
Heslo je určitě správně, to vím jistě.
Stalo se mi to při konfiguraci wifiny.
Poraďte někdo prosím.
-
Ouu sry, dal jsem to na špatný místo, chtěl jsem do obecný podpory.
-
Nehrál sis v /etc/sudoers s tím souborem?
-
nee, nehrál
-
Pomůže někdo??
Nevim co dál :-(
-
hod sem vypis z /etc/hosts
-
A hostname
-
Toto je /etc/hosts
# The following lines are desirable for IPv6 capable hosts
toto je /etc/hosts.deny
# /etc/hosts.deny: list of hosts that are _not_ allowed to access the system.
# See the manual pages hosts_access(5), hosts_options(5)
# and /usr/doc/netbase/portmapper.txt.gz
#
# Example: ALL: some.host.name, .some.domain
# ALL EXCEPT in.fingerd: other.host.name, .other.domain
#
# If you're going to protect the portmapper use the name "portmap" for the
# daemon name. Remember that you can only use the keyword "ALL" and IP
# addresses (NOT host or domain names) for the portmapper. See portmap(8)
# and /usr/doc/portmap/portmapper.txt.gz for further information.
#
# The PARANOID wildcard matches any host whose name does not match its
# address.
# You may wish to enable this to ensure any programs that don't
# validate looked up hostnames still leave understandable logs. In past
# versions of Debian this has been the default.
# ALL: PARANOID
toto je /etc/hosts.allow
# /etc/hosts.allow: list of hosts that are allowed to access the system.
# See the manual pages hosts_access(5), hosts_options(5)
# and /usr/doc/netbase/portmapper.txt.gz
#
# Example: ALL: LOCAL @some_netgroup
# ALL: .foobar.edu EXCEPT terminalserver.foobar.edu
#
# If you're going to protect the portmapper use the name "portmap" for the
# daemon name. Remember that you can only use the keyword "ALL" and IP
# addresses (NOT host or domain names) for the portmapper, as well as for
# rpc.mountd (the NFS mount daemon). See portmap(8), rpc.mountd(8) and
# /usr/share/doc/portmap/portmapper.txt.gz for further information.
#
hostname je olegunar
Nebo nevim co jste presne chtel
-
mate smazany /etc/hosts
poslete sem nekdo prosim vypis tohoto souboru, nemam tady zadne ubuntu k dispozici
-
127.0.0.1 localhost
127.0.1.1 feistyfawn
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
-
Jo, to bylo ono, už to zase maká.
Díky všem,
zdraví Ladis