LINUX.ORG.RU

LXTerminal 0.2.0 не принимает правильный пароль рута

 ,


0

2

доброго дня
пользуюсь Lubuntu
в граф интерф при запросе пароля ввожу пароль как я думал рута и все всегда работает.
в меню->Системные Настройки->Пользователи и Группы есть два пользователя...один из них Администратор.
работаю под обыч пользователем.
решил заняться настройкой работы кулера ноута. интернет + терминал и...терминал просит пароль и...пароль не принимает. пароль цифровой...ввод без ошибок.
и вот список юзеров:
user@mainUserF5Z:~$ grep home /etc/passwd | cut -d: -f1 syslog
mainuser
user
есть идеи?

user@mainUserF5Z:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.10
Release: 16.10
Codename: yakkety

зарание спасибо)



Последнее исправление: sokol_syb (всего исправлений: 2)

Администратор — это обычный пользователь, но он может повышать свои права до суперпользовательских. Механизмы реализации разные — sudo, su, и т.д.

root — это суперпользователь, он может всё без всяких паролей (ну почти всё), имеет всегда GID и UID равными нулю (чисто теоретически может иметь имя отличное от 'root', но это обычно не практикуется).

Теперь по проблеме: кулер, интернет, терминал — я ни чего не понял. Какой терминал просит пароль? Что ты запускаешь? Как? При чем тут вообще интернет?

mandala ★★★★★
()

LXTerminal

Как ты его запускаешь? Десктоп-файлом (ярлыком)? У файла обычная чёрная иконка или цветная? Если чёрная, то он сразу должен запуститься. Цветная запрашивает пароль настоящего суперпользователя (root) — во многих дистрибутивах (в Убунте в том числе) у него пароль отключен и включать его не рекомендуется, если ты не знаешь что это тебе точно нужно. Пользуйся обычным lxterminal из под обычного пользователя (чтобы не менять сессию). В нем вводи:

su useradmin
где useradmin имя юзера с правами администратора. Потом:
sudo command
где command — нужная тебе команда или программа (с опциями или без них). По простому — чтобы повысить права до суперпользовательских ставь в самом начале команды sudo. Будет запрашиваться пароль, вводить его нужно вслепую — введенные символы ни как не отображаются.

Есть еще один способ, выполняется от юзера-админа:

sudo su
После ввода пароля (пароль юзера-админа) ты попадешь в терминал, но уже с правами суперпользователя (приглашение командной строки в этом режиме оканчивается на символ решетки '#', в режимах простых пользователей — символ доллара '$' — картинка). Это иногда удобно, но при работе в этом режиме нужно быть очень осторожным.

mandala ★★★★★
()
Последнее исправление: mandala (всего исправлений: 1)

Ничего не понял. Но тебе бы какую-то книжку по юниксу почитать что ли...

BceM_IIpuBeT ★★☆☆☆
()
Ответ на: комментарий от mandala

спасибо...помогло sudo useradmin

...Думалось нужно вводить пароль в терминале каждый раз после команды этого требующего. ...НО...Не получилось наладить управление курером ноута. Ниже листинг...из последеней строчки я так понял управления кулером мне не видать...верно?? под Виндой кулер работает нормально.


mainuser@mainUserF5Z:/home/user$ sudo sensors-detect
# sensors-detect revision 6284 (2015-05-31 14:00:33 +0200)
# System: ASUSTeK Computer Inc. F5Z [1.0] (laptop)
# Kernel: 4.8.0-22-generic i686
# Processor: AMD Athlon(tm) X2 Dual-Core QL-60 (17/3/1)


This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.


Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): y
Module cpuid loaded successfully.
Silicon Integrated Systems SIS5595... No
VIA VT82C686 Integrated Sensors... No
VIA VT8231 Integrated Sensors... No
AMD K8 thermal sensors... No
AMD Family 10h thermal sensors... No
AMD Family 11h thermal sensors... Success! (driver `k10temp')
AMD Family 12h and 14h thermal sensors... No
AMD Family 15h thermal sensors... No
AMD Family 16h thermal sensors... No
AMD Family 15h power sensors... No AMD Family 16h power sensors... No
Intel digital thermal sensor... No
Intel AMB FB-DIMM thermal sensor... No
Intel 5500/5520/X58 thermal sensor... No
VIA C7 thermal sensor... No
VIA Nano thermal sensor... No


Some Super I/O chips contain embedded sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no): y
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor/ITE'... No
Trying family `SMSC'... No
Trying family `VIA/Winbond/Nuvoton/Fintek'... No
Trying family `ITE'... No
Probing for Super-I/O at 0x4e/0x4f
Trying family `National
Semiconductor/ITE'... No
Trying family `SMSC'... No
Trying family `VIA/Winbond/Nuvoton/Fintek'... No
Trying family `ITE'... No


Some hardware monitoring chips are accessible through the ISA I/O ports.
We have to write to arbitrary I/O ports to probe them. This is usually
safe though. Yes, you do have ISA I/O ports even if you do not have any
ISA slots! Do you want to scan the ISA I/O ports? (YES/no): y
Probing for `National Semiconductor LM78' at 0x290... No
Probing for `National Semiconductor LM79' at 0x290... No
Probing for `Winbond W83781D' at 0x290... No
Probing for `Winbond W83782D' at 0x290... No


Lastly, we can probe the I2C/SMBus adapters for connected hardware
monitoring devices. This is the most risky part, and while it works
reasonably well on most systems, it has been reported to cause trouble
on some systems.
Do you want to probe the I2C/SMBus adapters now? (YES/no): y
Using driver `i2c-piix4' for device 0000:00:14.0: ATI
Technologies Inc SB600/SB700/SB800 SMBus


Next adapter: Radeon i2c bit bus 0x90 (i2c-0)
Do you want to scan it? (yes/NO/selectively): y


Next adapter: Radeon i2c bit bus 0x91 (i2c-1)
Do you want to scan it? (yes/NO/selectively): y


Next adapter: Radeon i2c bit bus 0x92 (i2c-2)
Do you want to scan it? (yes/NO/selectively): y
Next adapter: Radeon i2c bit bus 0x93 (i2c-3)
Do you want to scan it? (yes/NO/selectively): y


Next adapter: Radeon i2c bit bus 0x14 (i2c-4)
Do you want to scan it? (yes/NO/selectively): y


Next adapter: SMBus PIIX4 adapter at 0b00 (i2c-5)
Do you want to scan it? (YES/no/selectively): y
Client found at address 0x50
Probing for `Analog Devices ADM1033'... No
Probing for `Analog Devices ADM1034'... No
Probing for `SPD EEPROM'... Yes
(confidence 8, not a hardware monitoring chip)
Probing for `EDID EEPROM'... No
Client found at address 0x51
Probing for `Analog Devices ADM1033'... No
Probing for `Analog Devices ADM1034'... No
Probing for `SPD EEPROM'... Yes
(confidence 8, not a hardware monitoring chip)


Now follows a summary of the probes I have just done. Just press ENTER to continue:


Driver `k10temp' (autoloaded):
* Chip `AMD Family 11h thermal sensors' (confidence: 9)


No modules to load, skipping modules configuration.


Unloading cpuid... OK


mainuser@mainUserF5Z:/home/user$ sudo systemctl enable lm_sensors default
Failed to enable unit: No such file or directory

mainuser@mainUserF5Z:/home/user$ sudo systemctl start lm_sensors
Failed to start lm_sensors.service: Unit lm_sensors.service not found.

mainuser@mainUserF5Z:/home/user$ sensors
acpitz-virtual-0
Adapter: Virtual device
temp1: +69.0°C (crit = +108.0°C)

k10temp-pci-00c3
Adapter: PCI adapter
temp1: +68.6°C (high = +70.0°C)

mainuser@mainUserF5Z:/home/user$ sudo pwmconfig
# pwmconfig revision 6243 (2014-03-20)
This program will search your sensors for pulse width modulation (pwm) controls, and test each one to see if it controls a fan on your motherboard. Note that many motherboards do not have pwm circuitry installed, even if your sensor chip supports pwm.

We will attempt to briefly stop each fan using the pwm controls.
The program will attempt to restore each fan to full speed after testing. However, it is ** very important ** that you physically verify that the fans have been to full speed after the program has completed.

/usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed

sokol_syb
() автор топика
Ответ на: комментарий от mandala

спс...помогло su useradmin

спс...помогло su useradmin ...Думалось нужно вводить пароль в терминале каждый раз после команды этого требующего.

sokol_syb
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.