Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2019-09-16 14:11:03

  buszter - Użytkownik

buszter
Użytkownik
Zarejestrowany: 2019-09-16

not in sudoers file

czesc wam

OFF  - jestem Węgrem, słabo piszę po Polsku :(

zainstalowałem Debian 10 :D  ale cos nie tak ....

username is not in the sudoers file

szukałem na internet ale nie znalazłem nic dobrego ktore dziala.

macie jakisz pomysl

Ostatnio edytowany przez buszter (2019-09-16 14:15:21)


Hp Pavilion laptop
Debian 10 \ Gnome

Jestem Węgrem, dopiero uczę się po Polsku :)

Offline

 

#2  2019-09-16 15:03:14

  arecki - Użytkownik

arecki
Użytkownik
Skąd: 44 Bronson Lane Hensonville
Zarejestrowany: 2016-03-03

Re: not in sudoers file

Użyj

Kod:

su -

Offline

 

#3  2019-09-16 16:20:03

  Yampress - Imperator

Yampress
Imperator
Zarejestrowany: 2007-10-18

Re: not in sudoers file

a przetłumaczyłeś o co  w tym zdaniu które podałeś chodzi?
Przecież tam jest odpowiedz w tym zdaniu czego on chce...

poczytałeś jak skonfigurować sudo??

[root@debian /home/yampress]# cat /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
Defaults        env_reset
Defaults        mail_badpass
Defaults        secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root    ALL=(ALL:ALL) ALL

# Allow members of group sudo to execute any command
%sudo   ALL=(ALL:ALL) ALL

# See sudoers(5) for more information on "#include" directives:

#includedir /etc/sudoers.d
[root@debian /home/yampress]#

może coś gdzieś należy wstawić. W linuxie aby coś działało należy to skonfigurować.
Aby to skonfigurować należy wcześniej o tym poczytać.
Chyba słabo szukałeś, bo sam DUG ma instrukcje
https://dug.net.pl/tekst/63/przewodnik_po_sudo/

Offline

 

#4  2019-09-16 18:03:44

  jawojx - Użytkownik

jawojx
Użytkownik
Zarejestrowany: 2012-10-11

Re: not in sudoers file

Jak ktoś chce używać sudo w Debianie, to wystarczy po zainstalowaniu sudo dodać użytkownika do grupy sudo, i tyle. Czyli z root-a.

Instalacja, jak nie zrobił tego przy instalacji systemu.

Kod:

apt install sudo

Dodanie użytkownika buszter do grupy sudo.

Kod:

addgroup buszter sudo

I się przelogować, by uzyskać nowe uprawnienia.

Offline

 

#5  2019-09-17 08:26:55

  buszter - Użytkownik

buszter
Użytkownik
Zarejestrowany: 2019-09-16

Re: not in sudoers file

dziękuje za pomoc
tylko na razie nic nie działa.
czytać umiem tylko nie rozumiem :D... polski to rozumiem ... linuxa nie :D
i nie będę ubuntu używać !

apt install sudo  -> permission denied
aptitude install sudo -> command not found


ale jeszcze pytanie - zainstalowałem Debian 10 z USB i nie mam internet .... nie ma wifi i nie mam możliwości używać kabla.
możne innym komputerem ciągnie pliki które zainstalować ... ale jeśli nie pozwoli mi system cokolwiek zainstalować .... nawet update ....


Hp Pavilion laptop
Debian 10 \ Gnome

Jestem Węgrem, dopiero uczę się po Polsku :)

Offline

 

#6  2019-09-17 10:24:22

  arecki - Użytkownik

arecki
Użytkownik
Skąd: 44 Bronson Lane Hensonville
Zarejestrowany: 2016-03-03

Re: not in sudoers file

Korzystaj z obrazów instalacyjnych ze składnikami non-free

Offline

 

#7  2019-09-17 11:02:06

  buszter - Użytkownik

buszter
Użytkownik
Zarejestrowany: 2019-09-16

Re: not in sudoers file

arecki napisał(-a):

... ze składnikami non-free

tego nie rozumiem :(

a gdzie są te obrazki ?


Hp Pavilion laptop
Debian 10 \ Gnome

Jestem Węgrem, dopiero uczę się po Polsku :)

Offline

 

#8  2019-09-17 12:49:29

  arecki - Użytkownik

arecki
Użytkownik
Skąd: 44 Bronson Lane Hensonville
Zarejestrowany: 2016-03-03

Offline

 

#9  2019-09-17 13:43:45

  buszter - Użytkownik

buszter
Użytkownik
Zarejestrowany: 2019-09-16

Re: not in sudoers file

to mówisz że musze instalowac debian od nowy z dodatkami i bedzie dobrze.

3 raze sztuka :D

raz sie uda .... :D


Hp Pavilion laptop
Debian 10 \ Gnome

Jestem Węgrem, dopiero uczę się po Polsku :)

Offline

 

#10  2019-09-17 15:57:27

  buszter - Użytkownik

buszter
Użytkownik
Zarejestrowany: 2019-09-16

Re: not in sudoers file

zainstalowałem ten :      10.1.0-live+nonfree/

i nadal jest niedobre .... ani wifi ani su nie jestem :(

a nie mozna osobnym komputerem szczagnac dotyczace paczki i instalowac z pendrive ?


Hp Pavilion laptop
Debian 10 \ Gnome

Jestem Węgrem, dopiero uczę się po Polsku :)

Offline

 

#11  2019-09-17 16:00:34

  buszter - Użytkownik

buszter
Użytkownik
Zarejestrowany: 2019-09-16

Re: not in sudoers file

ale wtedy admin nie jestem i wtedy jak instalowac cos ? :(


Hp Pavilion laptop
Debian 10 \ Gnome

Jestem Węgrem, dopiero uczę się po Polsku :)

Offline

 

#12  2019-09-17 16:35:04

  buszter - Użytkownik

buszter
Użytkownik
Zarejestrowany: 2019-09-16

Re: not in sudoers file

spruboje ten teraz

    buster_di_rc3+nonfree/


Hp Pavilion laptop
Debian 10 \ Gnome

Jestem Węgrem, dopiero uczę się po Polsku :)

Offline

 

#13  2019-09-18 07:48:23

  arecki - Użytkownik

arecki
Użytkownik
Skąd: 44 Bronson Lane Hensonville
Zarejestrowany: 2016-03-03

Re: not in sudoers file

Napisz dokładnie co to za komputer na którym próbujesz zainstalować Debiana.

Offline

 

#14  2019-09-18 09:29:26

  buszter - Użytkownik

buszter
Użytkownik
Zarejestrowany: 2019-09-16

Re: not in sudoers file

no ten ostatni ktore instalowałem nie ma Gnome :(  i nie zainstalowało nic desktop environment :(
ale zainstaluje następne :D  moze i to :)

dane moje komputer

CPU
    Intel Core i7 4510U @ 2.00GHz    43 °C
    Haswell ULT 22nm Technology
RAM
    12.0GB Dual-Channel DDR3 @ 798MHz (11-11-11-28)
Motherboard
    Hewlett-Packard 2281 (U3E1)
Graphics
    Generic PnP Monitor (1920x1080@60Hz)
    Intel HD Graphics Family (HP)
    2047MB NVIDIA GeForce 840M (HP)    40 °C
    ForceWare version: 398.36
    SLI Disabled
Storage
    223GB Western Digital WDC WDS240G2G0A-00JH30 (SATA (SSD))    32 °C
    931GB Western Digital WDC WD10JPVX-60JC3T0 (SATA )    26 °C
    931GB StoreJet Transcend USB Device (USB (SATA) (SSD))    32 °C
Optical Drives
    No optical disk drives detected
Audio
    Realtek High Definition Audio


Hp Pavilion laptop
Debian 10 \ Gnome

Jestem Węgrem, dopiero uczę się po Polsku :)

Offline

 

#15  2019-09-18 13:02:46

  arecki - Użytkownik

arecki
Użytkownik
Skąd: 44 Bronson Lane Hensonville
Zarejestrowany: 2016-03-03

Re: not in sudoers file

Zgaduję, że pobrałeś wersję standard, która nie posiada środowiska graficznego.

Offline

 

#16  2019-09-18 13:05:20

  buszter - Użytkownik

buszter
Użytkownik
Zarejestrowany: 2019-09-16

Re: not in sudoers file

podejrzewam ze tak :D
teraz pomysł ze podczas instalowanie podłącze kablem do internetu  i wtedy moze z mirror ciągnie jakos sterowniki


Hp Pavilion laptop
Debian 10 \ Gnome

Jestem Węgrem, dopiero uczę się po Polsku :)

Offline

 

#17  2019-09-18 18:42:38

  arecki - Użytkownik

arecki
Użytkownik
Skąd: 44 Bronson Lane Hensonville
Zarejestrowany: 2016-03-03

Re: not in sudoers file

Jak już zainstalujesz, to wrzuć wyniki komend:

Kod:

lspci -k

Kod:

lsusb

Offline

 

#18  2019-09-20 12:47:48

  buszter - Użytkownik

buszter
Użytkownik
Zarejestrowany: 2019-09-16

Re: not in sudoers file

Kod:

buszter@debian:~$ lspci -k

00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)
    Subsystem: Hewlett-Packard Company Haswell-ULT DRAM Controller
    Kernel driver in use: hsw_uncore
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
    Subsystem: Hewlett-Packard Company Haswell-ULT Integrated Graphics Controller
    Kernel driver in use: i915
    Kernel modules: i915
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
    Subsystem: Hewlett-Packard Company Haswell-ULT HD Audio Controller
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
    Subsystem: Hewlett-Packard Company 8 Series USB xHCI HC
    Kernel driver in use: xhci_hcd
    Kernel modules: xhci_pci
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
    Subsystem: Hewlett-Packard Company 8 Series HECI
    Kernel driver in use: mei_me
    Kernel modules: mei_me
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
    Subsystem: Hewlett-Packard Company 8 Series HD Audio Controller
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4)
    Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 2 (rev e4)
    Kernel driver in use: pcieport
00:1c.2 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)
    Kernel driver in use: pcieport
00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)
    Kernel driver in use: pcieport
00:1c.4 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 5 (rev e4)
    Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
    Subsystem: Hewlett-Packard Company 8 Series USB EHCI
    Kernel driver in use: ehci-pci
    Kernel modules: ehci_pci
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
    Subsystem: Hewlett-Packard Company 8 Series LPC Controller
    Kernel driver in use: lpc_ich
    Kernel modules: lpc_ich
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
    Subsystem: Hewlett-Packard Company 8 Series SATA Controller 1 [AHCI mode]
    Kernel driver in use: ahci
    Kernel modules: ahci
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
    Subsystem: Hewlett-Packard Company 8 Series SMBus Controller
    Kernel driver in use: i801_smbus
    Kernel modules: i2c_i801
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader (rev 01)
    Subsystem: Hewlett-Packard Company RTS5227 PCI Express Card Reader
    Kernel driver in use: rtsx_pci
    Kernel modules: rtsx_pci
08:00.0 Network controller: Broadcom Limited BCM43142 802.11b/g/n (rev 01)
    Subsystem: Hewlett-Packard Company BCM43142 802.11b/g/n
09:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 08)
    Subsystem: Hewlett-Packard Company RTL810xE PCI Express Fast Ethernet controller
    Kernel driver in use: r8169
    Kernel modules: r8169
0a:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev a2)
    Subsystem: Hewlett-Packard Company GM108M [GeForce 840M]
    Kernel driver in use: nouveau
    Kernel modules: nouveau

===============================================================

Kod:

buszter@debian:~$ lsusb

Bus 001 Device 004: ID 0a5c:216c Broadcom Corp. BCM43142A0 Bluetooth Device
Bus 001 Device 003: ID 05c8:036e Cheng Uei Precision Industry Co., Ltd (Foxlink) Webcam
Bus 001 Device 002: ID 8087:8000 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 8564:7000 Transcend Information, Inc.
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 046d:c00e Logitech, Inc. M-BJ58/M-BJ69 Optical Wheel Mouse
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


Hp Pavilion laptop
Debian 10 \ Gnome

Jestem Węgrem, dopiero uczę się po Polsku :)

Offline

 

#19  2019-09-20 15:58:32

  arecki - Użytkownik

arecki
Użytkownik
Skąd: 44 Bronson Lane Hensonville
Zarejestrowany: 2016-03-03

Re: not in sudoers file

Sieć przewodowa powinna działać.
Dla sieci bezprzewodowej powinno wystarczyć instalacja wg poradnika https://wiki.debian.org/wl (zacznij od punktu 2 jeśli instalowałeś z obrazu ze składnikami non-free)
Dla pewności podaj jeszcze wynik:

Kod:

lspci -nnk | grep 08:00.0 -A4

Kod:

rfkill list

(doinstalować rfkill jeśli brak polecenia).

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
To nie jest tylko forum, to nasza mała ojczyzna ;-)