顯示文章

這裡允許您檢視這個會員的所有文章。請注意, 您只能看見您有權限閱讀的文章。


文章 - ahlek

頁: [1] 2
1
Linux 討論版 / is it my box give ppl hack ?
« 於: 2003-03-02 23:07 »
when i type --> w  only me at the box.
but when i type who or finger
it will have another root users in my box..
then i ps -aux |grep tty00 <-the root which showing in the finger
it dont have any..
is it my box give ppl hack ???

2
Linux 討論版 / tty problem
« 於: 2003-02-11 10:02 »
oh....
now when no user on my linux box..i login that time
it will start from pts/15 ++ already.. it cant start from pts/0


is it this is normal status ???

3
Linux 討論版 / sendmail user error
« 於: 2003-02-11 00:04 »
in my linux got one user is Bl5it so the email address is Bl5it@xxx.com
it can sendmail but canot sendmail.
when i sendmail that time the error showing error
... User unknown ..
i using redhat 8.0
sendmail-8.12.5-7

4
Linux 討論版 / tty problem
« 於: 2003-02-10 00:06 »
oicic...
tks.. i thought is got somemore using the ssh but hide it the workstation
so when i type w or finger
i cant see it~~

5
Linux 討論版 / tty problem
« 於: 2003-02-09 23:42 »
nono..i didnt install Xwindow~~
and i not in console to login in..
i use ssh to login

6
Linux 討論版 / tty problem
« 於: 2003-02-09 11:43 »
any one face this problem before ??

test    pts/0   x.x.x.x.    Sat 4pm  3:15m  0.08s  0.08s  -bash
test    pts/6    x.x.x.x.x.    11:37am  6:29   0.04s  0.04s  -bash
root     pts/10   x.x.x.x.x    11:09am  0.00s  0.10s  0.00s  w

so when i login that time the tty pts/ it wont follow 0~10
it will skip pts/1 pts/2 pts/3 pts/4 pts/5  ..

i means is first user login is Pts/0
second user login is pts/6 <--is it got problem ???
third user login is  pts/10
4 user login is pts/11

7
Linux 討論版 / Redhat 8.0 sendmail problem
« 於: 2003-01-26 20:44 »
i just install Rehat8.0 but i didnt install sendmail.
so now i manually install sendmaiil rpm
sendmail-doc-8.12.5-7
sendmail-cf-8.12.5-7
sendmail-devel-8.12.5-7

i can received mail from other people to my box
but i cannot sendmail from my linux box to internet..

and even i in telnet mail users <--this it also didnt received.

if i telnet mybox 25 <--it can sendmail to my users..
get what i means???
 
/var/spool/clientmqueue <--what is this ? because it alwasy queue in here..

8
BSD 討論版 / SSHd Error
« 於: 2003-01-23 17:14 »
any one got see this error message before?
how to solve it?

FreeBSD4.5

Jan 23 17:02:10 FreeBSD sshd[281]: Connection from x.x.x.x port 1442
Jan 23 17:02:12 FreeBSD sshd[281]: Could not reverse map address x.x.x.x

9
BSD 討論版 / Sendmail error msg in Freebsd
« 於: 2002-12-27 14:02 »
if i disable the ip aliase in /etc/rc.conf then
dont have the error message already.....

is it the virtual ip problem cause this?
anyone have thie expenrience before??

10
BSD 討論版 / Sendmail error msg in Freebsd
« 於: 2002-12-27 12:37 »
Dec 24 09:27:09 ahlek sendmail[208]: gethostbyaddr(10.1.34.147) failed: 2
Dec 24 09:27:09 ahlek sendmail[208]: gethostbyaddr(10.1.34.148) failed: 2
Dec 24 09:27:09 ahlek sendmail[208]: gethostbyaddr(10.1.34.149) failed: 2

i have setup the virtual ip in the machine..and also the virtual ip..
so when i send mail it got showing this error..
any ideal ???
or did i miss out some setting in sendmail ???

11
BSD 討論版 / ipfw setting
« 於: 2002-12-24 11:46 »
and if i wan only open port 1024-4000
how i going to set ??

12
BSD 討論版 / ipfw setting
« 於: 2002-12-24 11:40 »
i have a freebsd box
inside got running Web,Smtp,Pop,ssh,Dns

just asking.. in the firewall rule is it i have to open
allow any ppl query port 53 tcp and udp ? is it necessary ??


what else i have to care in setting ipfw ??
tks again..

13
my os is redhat 7.0 also have same problem
with this... :D~~~

14
BSD 討論版 / Uptime
« 於: 2002-12-20 10:52 »
freebsd uptime is it can change it ??

15
BSD 討論版 / FreeBSd security
« 於: 2002-12-20 09:05 »
引述: "damon"
man chflags
man security
man rc.conf
man pam

they are all in your FreeBSD box


oh..really good.....other than this..
what else i have to take care for the security part??
got any one would like to share his experience to me ??

tks again damon & duncanlo

16
引述: "damon"
代碼: [選擇]

    <Directory "/usr/local/www/cgi-bin">
        AllowOverride None
        Options None
        Order allow,deny
        Allow from all
    </Directory>


try to configure dicectorys for every users and define their access right
http://httpd.apache.org/docs/mod/core.html#directory


oicic..tks..
i thought that one only for cgi...
:D~

17
oh..did you got any experience about php ??

if i want set only some of the people can use php.
and some of the user canot use php in their
public folder?
 how to set in apache conf ??

18
BSD 討論版 / FreeBSd security
« 於: 2002-12-19 19:59 »
引述: "duncanlo"
你都設600,
那user及damon怎麼作認證?!


oh..then got anyway to do some security ??
any step ?

19
BSD 討論版 / FreeBSd security
« 於: 2002-12-19 09:45 »
i am newbie on Freebsd. just asking
/etc/*** <--inside all file is it possible i set to 600 ?
is it will effect the OS ???


or anyone got any freebsd security web introduce to me?
because i wan to learn security

20
PHP程式設計討論區 / Stop user using .php
« 於: 2002-12-15 11:54 »
i want set only some of the people are allow using php. the
other people not allow using php.
how i going to set this enviroment/???

21
BSD 討論版 / sendmail and Qmail
« 於: 2002-12-15 09:27 »
i found alot article say that sendmail have alot bug
and qmail is better than sendmail
how about your ideal??????


i have FreeBSD4.5-release. if i want uninstall sendmail
and install qmail. got any url step to let me see??
any good webpage introduce for that/
tks..

22
Linux 討論版 / shell script question
« 於: 2002-12-12 09:32 »
引述: "netman"
grep -A2 "login:$USER" user.tx  | tail +2 > $HOME/test.txt


To:netman
i have try grep -A2 "login:$USER" user.tx  | tail +2 >$HOME/test.txt
it wont work.. but if
grep -A2 "login:$USER" user.tx  | >/$home/test.txt
then it work..

but i have another question.
let say i wan using root to running while loop. auto
writing in each user folder . how can i do ?
sorry.i dont know much shell script one.
it means the $user <--i wan set variable how can i do ??

tks again

23
系統安全討論版 / Prevent
« 於: 2002-12-11 19:15 »
i using my linux to running nmap program to scan my FreeBsd Box
and in my freebsd box console it showing this message.
dec 11 19:15:07 ahlek /kernel: Limiting closed port RST response from 369 to 200
packets per second

is it we can trace the ip who try to scan the port in the freebsd ??

thks

24
BSD 討論版 / FreeBsd virtual ip setting
« 於: 2002-12-11 18:27 »
hehe..

thanks

25
Linux 討論版 / shell script question
« 於: 2002-12-11 18:15 »
ok..how about if i got save all the user file in user.txt

then is it possible i can using shells script to read user.txt file
and create a simply test.txt in each user direcotry /home/xxx ???

the user.txt <--have all the user information .

e.g
user.tx
---------
login:ahlek
tel:003
address:testing

login:test
tel:004
address:test2

so i using shell script to create a file in /home/ahlek/test.txt
and this test.txt only got ahlek user detail
/home/ahlek/test.txt
--------
tel:003
address:testing

/home/test/test.txt
tel:004
address:test2

is it possible ??

26
BSD 討論版 / FreeBsd virtual ip setting
« 於: 2002-12-11 18:10 »
i have set new ip in /etc/rc.conf
is it got anyway restart the network device without reboot?
because if i wan to see the new ip i have to reboot the freebsd
then only can take effect.
and i have try  ifconfig device down  and up again
also same..
is it got anyway like redhat can use
network restart <--

27
Linux 討論版 / shell script question
« 於: 2002-12-07 19:53 »
i want do a shell script connect to mysql to get some information on the user. and write it to the user /home/xxx/.test

e.g
in mysql got keep track all the users information like home address,telphone number,
so how do i writing a script connect to mysql get this kind of information and write to a file in each user /home/xxx/.test so then when each user login that time it can show the detail .test in their motd.

28
Network 討論版 / 請問Linux Router的設定問題
« 於: 2002-07-19 17:16 »
引述: "duncanlo"
MS VISIO是要$$$$$的版權軟體!

假如你想畫圖,KDE下有個KISIO也可以....


aiya...kde is linux os one
got any Win98 software??
hehee
 :wink:  :wink:

29
拾人牙慧 / ext2的檔案系統有抗破碎的能力
« 於: 2002-07-19 16:51 »
>不過我沒有執行過... 我現在用的系統, 好像沒有一個用 ext2, 都改用 XFS 了.
>ext2 用的執行檔叫 e2defrag, 用 google 也找的到.

if i wan my redhat use other File system..
how i going to change..and still got what kind
of fs can using it ???
[/url]

30
BSD 討論版 / FreeBSD install
« 於: 2002-07-19 11:46 »
another Question
how to do a FreeBSD bootdisk ???

頁: [1] 2