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!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
ze wzgledu ze instalowalem kilka programow w czasie gdy byl aktywowany gradm to byl brak dostepu m.in. do dodawania userow to teraz jak dam ps aux mam
105 2122 0.0 0.1 2680 264 ? Ss 00:55 0:00 /usr/bin/dbus-daemon --system 100 2463 0.0 0.1 6284 324 ? Ss 00:55 0:00 /usr/sbin/exim4 -bd -q30m 110 2513 1.2 2.0 13428 5364 ? S 00:55 0:01 /usr/sbin/tor
powinienem dodac tych userow o uid 100/105/110 ? czy co, bo tak glupio liczby mam ;p
ps aux | grep dbus-daemon ; ps aux | grep exim4 ; ps aux | grep tor ; cat /etc/passwd | grep dbus-daemon ; cat /etc/passwd | grep exim4 ; cat /etc/passwd | grep tor
jakby ktos mogl ;>
ale co dziwne
Debian-exim:x:100:102::/var/spool/exim4:/bin/false
debian-tor:x:110:111::/var/lib/tor:/bin/bash
tych 2 userow mam.. to czemu sa liczby na ps aux a nie loginy?
Ostatnio edytowany przez az (2009-02-04 01:06:31)
Offline
lis6502@Nexus:/home/ftp$ ps aux | grep dbus-daemon ; ps aux | grep exim4 ; ps aux | grep tor ; cat /etc/passwd | grep dbus-daemon ; cat /etc/passwd | grep exim4 ; cat /etc/passwd | grep tor 103 2342 0.0 0.1 2756 1120 ? Ss Feb03 0:00 /usr/bin/dbus-daemon --system lis6502 3010 0.0 0.0 2620 896 ? Ss Feb03 0:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session lis6502 24090 0.0 0.0 3148 792 pts/1 S+ 03:35 0:00 grep dbus-daemon 100 2660 0.0 0.0 6340 944 ? Ss Feb03 0:00 /usr/sbin/exim4 -bd -q30m lis6502 24092 0.0 0.0 3148 784 pts/1 R+ 03:35 0:00 grep exim4 root 2725 0.0 0.0 3408 1028 ? S Feb03 0:00 hald-addon-storage: no polling on /dev/fd0 because it is explicitly disabled root 2732 0.0 0.1 3408 1036 ? S Feb03 0:09 hald-addon-storage: polling /dev/scd0 (every 2 sec) lis6502 20736 5.8 3.3 101536 34848 ? Sl 00:07 12:16 ktorrent -icon ktorrent -miniicon ktorrent -caption KTorrent lis6502 21336 0.1 2.6 48188 27800 ? S 00:38 0:13 konqueror [kdeinit] -mimetype inode/directory file:///home lis6502 22999 0.8 4.0 65040 41684 ? S 03:06 0:14 akregator -icon akregator -miniicon akregator -caption Akregator root 23677 0.0 0.0 0 0 ? S< 03:27 0:00 [usb-storage] root 23758 0.0 0.0 3408 1032 ? S 03:28 0:00 hald-addon-storage: polling /dev/sdb (every 2 sec) root 23767 0.0 0.1 3408 1040 ? S 03:28 0:00 hald-addon-storage: polling /dev/sdc (every 2 sec) root 23771 0.0 0.1 3408 1036 ? S 03:28 0:00 hald-addon-storage: polling /dev/sdd (every 2 sec) root 23778 0.0 0.1 3408 1040 ? S 03:28 0:00 hald-addon-storage: polling /dev/sde (every 2 sec) lis6502 24094 0.0 0.0 3148 788 pts/1 R+ 03:35 0:00 grep tor Debian-exim:x:100:102::/var/spool/exim4:/bin/false postgres:x:105:107:PostgreSQL administrator:/var/lib/postgresql:/bin/bash debian-tor:x:113:118::/var/lib/tor:/bin/bash sqlrelay:x:117:124:SQLRelay administrator:/var/cache/sqlrelay:/bin/bash firebird:x:119:127:Firebird Database Administator:/var/lib/firebird/2.0:/bin/bash
nie ma za co ;p
A że liczby są? Boli? Grunt że tworzy pliki z właściwymi uprawnieniami.
Sprawdź chmody na /etc/passwd
lis6502@Nexus:/home/ftp$ sudo ls -l /etc/passwd -rw-r--r-- 1 lis6502 lis6502 1952 lut 2 17:48 /etc/passwd
A jak nie, to przywróć z jednego z backupów i wtedy możemy myśleć dalej.
OMG, właśnie zjarzyłem że mam passwd world-readable ;p Może i u Ciebie tak jest? ja też mam usera 103, choć jest w passwd...
Ostatnio edytowany przez lis6502 (2009-02-04 03:45:52)
Offline
aha, no chyba ze tak, no teraz rzeczywiscie widze ze chyba wszystko jest
root@debian:~ # cat /etc/passwd | grep :105: messagebus:x:105:107::/var/run/dbus:/bin/false root@debian:~ # cat /etc/passwd | grep :100: Debian-exim:x:100:102::/var/spool/exim4:/bin/false root@debian:~ # cat /etc/passwd | grep :110: debian-tor:x:110:111::/var/lib/tor:/bin/bash
myslalem ze sa dlatego ze sie user nie dodal, a nie sprawdzalem wczoraj tych uidow czy sa ;), dzieki
Offline