Nachalo Vhod/Registratsiia Pomosht Originala na tazi stranica
Oblasti
 Novini
 Aktualna tema
 Linux portali
 Spravochnik
 FAQ
   •Kakvo e Linuks?
 Vuprosi-otgovori
 Forumi
   •Trudova borsa
   •Konkurs
 Statii
 Distributsii
   •Poruchka na CD
 Made In BG
 Failove
 Vruzki
 Galeriia
 Konferentsii
Nastroiki
 Vunshen vid
 Predlozheniia
 Napravi si sam
I oshte ...
 Za nas
 Linuks za bulgari EOOD
 Link kum nas
 Predlozheniia

Podkrepiano ot:
Spectrum Net

TelePoint - Miasto za hora sus svobodni idei

Adsys Group

SAP Bulgaria

Vuprosi otgovori
Vupros: dup2:Bad file descriptor ; /dev/null ....
[Tursi: ]

VNIMANIE: Izpolzvaite forumite na saita za da zadadete vashite vuprosi.

Kum nachaloto |Dobavi vupros |Otgovori
 
Vupros
Ot: Crache Data: 04/30/2004
Za XP log to Samba:

 root# /usr/sbin/useradd -g 100 -d /dev/null -c "USER1" -s
/bin/false USER1$ 
root# passwd -l USER1$ 
root# smbpasswd -a -m USER1
..
reboot-vam sled koeto
Setting hostname x.y.z.w: dup2: Bad file descriptor 
 etc/rc.d/rc.sysinit line 173 /dev/null Read Only Filesystem

Initializing USB Controller dup2: Bad file descriptor 
 etc/rc.d/rc.sysinit line 184 /dev/null Read Only Filesystem

 etc/rc.d/rc.sysinit line 184 /dev/null Read Only Filesystem

 etc/rc.d/rc.sysinit line 200 /dev/null Read Only Filesystem

...
checking root filesystem 
dup2: Bad file descriptor 
An error ocurred during the file system check 
Dropping you yo a shell; the system will reboot 
when you leave the shell 
give root password for maintenance:
......
Vlizam s passworda koiato e za root i ...

(Repair filesystem)1#


opitah neshto s commands "fsck", "e2fsck", no nishto ...:(
 Na niakoi commands mi kazva che niamam r/w prava i treiabva
 da sym root?!??! Tova ne go razbrah! Drugia interesen fakt e
 dava mi che root e s potrebiteslki prava UID 500 , a ne 0
...?!?!?
Kakvo moga da napravia po problema?
10x predvaritelno



Otgovor #1
Ot: s Data: 05/01/2004
Restartirai v Single User Mode, otvori /etc/passwd 
i /etc/group i si proveri User i Group ID-tata i ako 
triabva si gi opravi.  
Iztegli si i instalirai Webmin i s nego si sinronizirai 
parolite na potrebitelite pod linux i Samba i posle pak s 
nego si opravi i drugite nastroiki.  
Preporuchvam ti Webmin, zashtoto iavno kato pishesh komandite na 
ruka v konzolata neshto se omazva.


<< Molia ,tursia programa? (0 ) | za USB modem (1 ) >>

 
© 2011-... Asotsiatsiia "Linuks za bulgari"
© 2007-2010 Linuks za bulgari EOOD
© 1999-2006 Slavej Karadjov
Ako iskate da prepechatate ili tsitirate informatsiia ot tozi sait prochetete purvo tova
Vunshniia vid e napraven ot MOMCHE
Code Version: 1.0.8 H (Revision: 23-09-2011)
 
Изпълнението отне: 0 wallclock secs ( 0.09 usr + 0.00 sys = 0.09 CPU)