не пускает под root

Простые/общие вопросы по UNIX системам. Спросите здесь, если вы новичок

Модераторы: vadim64, terminus

Правила форума
Убедительная просьба юзать теги [cоde] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
BKS
мл. сержант
Сообщения: 111
Зарегистрирован: 2010-05-22 12:24:47

не пускает под root

Непрочитанное сообщение BKS » 2012-06-05 20:06:18

Добрый вечер уважаемые!
Во время установки isc-dhcp42-server-4.2.3_2 выдавало ошибку, поиск привел к решению изменить /etc/nsswitch.conf
было:

Код: Выделить всё

group: compat
group_compat: nis
hosts: files dns
networks: files
passwd: compat
passwd_compat: nis
shells: files
services: compat
services_compat: nis
protocols: files
rpc: files
изменил на :

Код: Выделить всё

group: files compat
group_compat: nis
hosts: files dns
networks: files
passwd: files compat
passwd_compat: nis
shells: files
services: compat
services_compat: nis
protocols: files
rpc: files

после чего dhcp успешно установился и заработал.
стали сыпаться ошибки что nsswitch.conf это не устраивает, вернул как было и перезагрузил и вот тут то стало страшно, через ssh su пишет:

Код: Выделить всё

%su
su: Sorry
через консоль тоже рута не пускает.
и в консоле сейчас

Код: Выделить всё

Creating and/or trimming log files
newsyslog: 
error in config file; unknown user:
/var/log/ppp.log        root:network    640  3     100  *     JC
и

Код: Выделить всё

find: 
-user: root: no such user

mkdir: 
/tmp/.X11-unix
: 
File exists
mkdir: 
/tmp/.XIM-unix
: 
File exists
mkdir: 
/tmp/.ICE-unix
: 
File exists
mkdir: 
/tmp/.font-unix
: 
File exists
поможайте люди добрые

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

BKS
мл. сержант
Сообщения: 111
Зарегистрирован: 2010-05-22 12:24:47

Re: не пускает под root

Непрочитанное сообщение BKS » 2012-06-06 9:07:04

Насшол в логах на что ругался перед тем как вернул настройки и перезагрузил

Код: Выделить всё

Jun  5 21:26:36 bisti mtree: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:27:03 bisti mtree: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:27:03 bisti mtree: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:27:03 bisti pw: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:27:03 bisti pw: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:27:03 bisti pw: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:27:03 bisti pw: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:27:04 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:27:04 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:27:04 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:27:04 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:27:04 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:27:04 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:27:04 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:27:04 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:27:04 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:27:04 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:27:04 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:27:04 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:27:04 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:27:04 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:27:04 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:27:04 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:27:04 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:27:04 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:27:04 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:27:04 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:27:05 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:27:05 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:27:05 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:27:05 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:27:05 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:27:05 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:27:05 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:27:05 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:27:05 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:27:05 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:27:05 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:27:05 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:27:05 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:27:05 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:27:05 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:27:05 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:27:05 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:27:05 bisti install: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:27:49 bisti smbd[28150]: NSSWITCH(nsparser): /etc/nsswitch.conf line 20: 'compat' used with sources, other than 'cache'
Jun  5 21:27:49 bisti smbd[28150]: NSSWITCH(nsparser): /etc/nsswitch.conf line 24: 'compat' used with sources, other than 'cache'
Jun  5 21:27:49 bisti smbd[28151]: NSSWITCH(nsparser): /etc/nsswitch.conf line 20: 'compat' used with sources, other than 'cache'
Jun  5 21:27:49 bisti smbd[28151]: NSSWITCH(nsparser): /etc/nsswitch.conf line 24: 'compat' used with sources, other than 'cache'
Jun  5 21:27:49 bisti smbd[28152]: NSSWITCH(nsparser): /etc/nsswitch.conf line 20: 'compat' used with sources, other than 'cache'
Jun  5 21:27:49 bisti smbd[28152]: NSSWITCH(nsparser): /etc/nsswitch.conf line 24: 'compat' used with sources, other than 'cache'
Jun  5 21:27:49 bisti smbd[28153]: NSSWITCH(nsparser): /etc/nsswitch.conf line 20: 'compat' used with sources, other than 'cache'
Jun  5 21:27:49 bisti smbd[28153]: NSSWITCH(nsparser): /etc/nsswitch.conf line 24: 'compat' used with sources, other than 'cache'
Jun  5 21:27:49 bisti smbd[28154]: NSSWITCH(nsparser): /etc/nsswitch.conf line 20: 'compat' used with sources, other than 'cache'
Jun  5 21:27:49 bisti smbd[28154]: NSSWITCH(nsparser): /etc/nsswitch.conf line 24: 'compat' used with sources, other than 'cache'
Jun  5 21:27:49 bisti smbd[28155]: NSSWITCH(nsparser): /etc/nsswitch.conf line 20: 'compat' used with sources, other than 'cache'
Jun  5 21:27:49 bisti smbd[28155]: NSSWITCH(nsparser): /etc/nsswitch.conf line 24: 'compat' used with sources, other than 'cache'
Jun  5 21:27:51 bisti smbd[28156]: NSSWITCH(nsparser): /etc/nsswitch.conf line 20: 'compat' used with sources, other than 'cache'
Jun  5 21:27:51 bisti smbd[28156]: NSSWITCH(nsparser): /etc/nsswitch.conf line 24: 'compat' used with sources, other than 'cache'
Jun  5 21:27:51 bisti smbd[28157]: NSSWITCH(nsparser): /etc/nsswitch.conf line 20: 'compat' used with sources, other than 'cache'
Jun  5 21:27:51 bisti smbd[28157]: NSSWITCH(nsparser): /etc/nsswitch.conf line 24: 'compat' used with sources, other than 'cache'
Jun  5 21:27:51 bisti smbd[28158]: NSSWITCH(nsparser): /etc/nsswitch.conf line 20: 'compat' used with sources, other than 'cache'
Jun  5 21:27:51 bisti smbd[28158]: NSSWITCH(nsparser): /etc/nsswitch.conf line 24: 'compat' used with sources, other than 'cache'
Jun  5 21:28:30 bisti ls: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:28:30 bisti ls: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:28:34 bisti perl: NSSWITCH(nsparser): /etc/nsswitch.conf line 20: 'compat' used with sources, other than 'cache'
Jun  5 21:28:34 bisti perl: NSSWITCH(nsparser): /etc/nsswitch.conf line 24: 'compat' used with sources, other than 'cache'
Jun  5 21:29:52 bisti ls: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:29:52 bisti ls: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:30:00 bisti cron[28165]: NSSWITCH(nsparser): /etc/nsswitch.conf line 20: 'compat' used with sources, other than 'cache'
Jun  5 21:30:00 bisti cron[28165]: NSSWITCH(nsparser): /etc/nsswitch.conf line 24: 'compat' used with sources, other than 'cache'
Jun  5 21:33:00 bisti cron[28169]: NSSWITCH(nsparser): /etc/nsswitch.conf line 20: 'compat' used with sources, other than 'cache'
Jun  5 21:33:00 bisti cron[28169]: NSSWITCH(nsparser): /etc/nsswitch.conf line 24: 'compat' used with sources, other than 'cache'
Jun  5 21:35:00 bisti cron[28182]: NSSWITCH(nsparser): /etc/nsswitch.conf line 20: 'compat' used with sources, other than 'cache'
Jun  5 21:35:00 bisti cron[28182]: NSSWITCH(nsparser): /etc/nsswitch.conf line 24: 'compat' used with sources, other than 'cache'
Jun  5 21:39:17 bisti arp: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:39:17 bisti arp: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:40:00 bisti cron[28189]: NSSWITCH(nsparser): /etc/nsswitch.conf line 20: 'compat' used with sources, other than 'cache'
Jun  5 21:40:00 bisti cron[28189]: NSSWITCH(nsparser): /etc/nsswitch.conf line 24: 'compat' used with sources, other than 'cache'
Jun  5 21:40:12 bisti dhcpd: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:40:12 bisti dhcpd: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:40:12 bisti ls: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:40:12 bisti ls: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:40:12 bisti chown: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:40:12 bisti chown: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:40:12 bisti ls: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:40:12 bisti ls: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:40:12 bisti chown: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:40:12 bisti chown: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:40:12 bisti ls: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:40:12 bisti ls: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:40:12 bisti chown: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:40:12 bisti chown: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:40:12 bisti dhcpd: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:40:12 bisti dhcpd: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:43:16 bisti dhcpd: uid lease 192.168.1.112 for client 00:26:2d:59:c6:82 is duplicate on 192.168.1.0/24
Jun  5 21:44:00 bisti cron[28227]: NSSWITCH(nsparser): /etc/nsswitch.conf line 20: 'compat' used with sources, other than 'cache'
Jun  5 21:44:00 bisti cron[28227]: NSSWITCH(nsparser): /etc/nsswitch.conf line 24: 'compat' used with sources, other than 'cache'
Jun  5 21:45:00 bisti cron[28239]: NSSWITCH(nsparser): /etc/nsswitch.conf line 20: 'compat' used with sources, other than 'cache'
Jun  5 21:45:00 bisti cron[28239]: NSSWITCH(nsparser): /etc/nsswitch.conf line 24: 'compat' used with sources, other than 'cache'
Jun  5 21:46:04 bisti arp: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:46:04 bisti arp: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:46:35 bisti smbd[28241]: NSSWITCH(nsparser): /etc/nsswitch.conf line 20: 'compat' used with sources, other than 'cache'
Jun  5 21:46:35 bisti smbd[28241]: NSSWITCH(nsparser): /etc/nsswitch.conf line 24: 'compat' used with sources, other than 'cache'
Jun  5 21:46:35 bisti smbd[28241]: /nonexistent|admin-genius|Win2K|nobody|192.168.1.12|connect|ok|IPC$
Jun  5 21:48:40 bisti sshd[28242]: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:48:40 bisti sshd[28242]: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:48:40 bisti -csh: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:48:40 bisti -csh: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:48:42 bisti su: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:48:42 bisti su: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:48:44 bisti su: bisti to root on /dev/pts/1
Jun  5 21:49:41 bisti arp: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:49:41 bisti arp: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:50:00 bisti cron[28254]: NSSWITCH(nsparser): /etc/nsswitch.conf line 20: 'compat' used with sources, other than 'cache'
Jun  5 21:50:00 bisti cron[28254]: NSSWITCH(nsparser): /etc/nsswitch.conf line 24: 'compat' used with sources, other than 'cache'
Jun  5 21:50:43 bisti dhcpd: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:50:43 bisti dhcpd: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:50:43 bisti ls: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:50:43 bisti ls: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:50:43 bisti ls: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:50:43 bisti ls: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:50:43 bisti ls: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:50:43 bisti ls: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:50:43 bisti chown: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:50:43 bisti chown: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:50:43 bisti dhcpd: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:50:43 bisti dhcpd: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'
Jun  5 21:51:03 bisti arp: NSSWITCH(nsparser): /etc/nsswitch.conf line 5: 'compat' used with sources, other than 'cache'
Jun  5 21:51:03 bisti arp: NSSWITCH(nsparser): /etc/nsswitch.conf line 9: 'compat' used with sources, other than 'cache'

BKS
мл. сержант
Сообщения: 111
Зарегистрирован: 2010-05-22 12:24:47

Re: не пускает под root

Непрочитанное сообщение BKS » 2012-06-07 11:36:15

Хелп как вернуть рута

Аватара пользователя
Alvares
прапорщик
Сообщения: 485
Зарегистрирован: 2008-07-10 12:48:08
Откуда: Воронеж
Контактная информация:

Re: не пускает под root

Непрочитанное сообщение Alvares » 2012-06-07 16:12:49

ну а в /etc/passwd чего есть? рут-то там есть?
Бог создал людей сильными и слабыми. Сэмюэл Кольт сделал их равными...

BKS
мл. сержант
Сообщения: 111
Зарегистрирован: 2010-05-22 12:24:47

Re: не пускает под root

Непрочитанное сообщение BKS » 2012-06-07 16:56:55

Пардон:

Код: Выделить всё

root:*:0:0:Charlie &:/root:/bin/csh
;( куда бежать чего делать

sudo
мл. сержант
Сообщения: 132
Зарегистрирован: 2011-02-05 10:54:11

Re: не пускает под root

Непрочитанное сообщение sudo » 2012-06-07 17:47:33

BKS писал(а):Пардон:

Код: Выделить всё

root:*:0:0:Charlie &:/root:/bin/csh
;( куда бежать чего делать

Код: Выделить всё

group: files
group_compat: nis
hosts: files dns
networks: files
passwd: files
passwd_compat: nis
shells: files
services: compat
services_compat: nis
protocols: files
rpc: files

BKS
мл. сержант
Сообщения: 111
Зарегистрирован: 2010-05-22 12:24:47

Re: не пускает под root

Непрочитанное сообщение BKS » 2012-06-07 20:09:17

то есть нужно изменить, как это сделать не под рутом?

sudo
мл. сержант
Сообщения: 132
Зарегистрирован: 2011-02-05 10:54:11

Re: не пускает под root

Непрочитанное сообщение sudo » 2012-06-07 20:21:44

BKS писал(а):то есть нужно изменить, как это сделать не под рутом?
LiveCD еще никто не отменял....

sudo
мл. сержант
Сообщения: 132
Зарегистрирован: 2011-02-05 10:54:11

Re: не пускает под root

Непрочитанное сообщение sudo » 2012-06-07 20:34:31

mount -u
mount -a /
vi /etc/nsswitch.conf

вроде так в режиме Fixit

BKS
мл. сержант
Сообщения: 111
Зарегистрирован: 2010-05-22 12:24:47

Re: не пускает под root

Непрочитанное сообщение BKS » 2012-06-08 9:49:32

ОГРОМНОЕ СПАСИБО =)
помогло, но почему раньше было:

Код: Выделить всё

group: compat
passwd: compat
это значит что кто то изменил, хотя доступ у меня одного (ранее до установки dhcp установка с портов была без проблем)?