🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.comp.os.linux
Article #13805

Re: linux�ܺ��棬����Ҳ�����棬�������ͷת��

#13805
From: ama
Date: Thu, 28 Feb 2002 00:17
33 lines
2871 bytes
"����" <wwwlinhui@263.net> д����Ϣ����:a5iius$1t7$1@mail.cn99.com...
> 1��ô�쿴shell��������İ�������trap��wait��������man����̫��ʹ
help trap

> 2˭�ܰ��ҽ���һ��/etc/group����ļ�,������һ�Σ�wheel:x:10:root��ÿһ����
��
> ���ʲô��˼���ر����Ǹ�x�������Ǹ�root.
wheel: ����
x: ԭ�������group�Ŀ������һ�����shadow��������һ��
��Ϊ*shadow*���ļ��������ʲô�ļ��Dz����ˣ�
10 : ��id
root... :�����Щ�û��������whell���顣

> 3�ļ���Ȩ����suid��sgid�Ĵ����ô��r��wһ����4��2�����Ҫʹһ���ļ���
Ȩ
> ��Ϊrwsrws---,����ô��chmod +���ִ�������?chmod file 6660�����ܲ�����
1080
> �ɣ���
man chmod
chmod 6770 file

> 4�������find / -type f \( -perm -4000 -o -perm -2000 \) -ls ���ҳ�ϵͳ��
��
> suid��sgid���ļ��������ҿ���������ô�������滹��С���ź�����"\"��find
>  ��-ls���������С�������-o����ʲô����֮������һͷ��ˮ��ϣ���������ϸ
��
> �ͣ����һ�Ȼ����

\ ��ֹ����ת��������Ҫ��������ʹ��\�ַ����ʹ��\\.
-o ��ʾ�� ���� �롣
-ls ��ʾ
�Լ���man�ĵ���
Technical Details
Message-ID: <a5jsae$43h$1@mail.cn99.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!news-xfer.siscom.net!hub1.nntpserver.com!news-out.spamkiller.net!propagator-la!news-in-la.newsfeeds.com!news-in.superfeed.net!news.cn99.com!not-for-mail
References: <a5iius$1t7$1@mail.cn99.com>

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: 10b277,22d486eca9d188e2
X-Google-Attributes: gid10b277,public
X-Google-ArrivalTime: 2002-02-27 16:06:43 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!supernews.com!news-xfer.siscom.net!hub1.nntpserver.com!news-out.spamkiller.net!propagator-la!news-in-la.newsfeeds.com!news-in.superfeed.net!news.cn99.com!not-for-mail
From: "ama" <aaa@foo.foo>
Newsgroups: cn.comp.os.linux
Subject: Re: linux�ܺ��棬����Ҳ�����棬�������ͷת��
Date: Thu, 28 Feb 2002 08:17:10 +0800
Organization: Bentium Ltd. (CN99)
Lines: 38
Message-ID: <a5jsae$43h$1@mail.cn99.com>
References: <a5iius$1t7$1@mail.cn99.com>
NNTP-Posting-Host: 218.21.104.75
X-Trace: mail.cn99.com 1014854799 4209 218.21.104.75 (28 Feb 2002 00:06:39 GMT)
X-Complaints-To: usenet@news.cn99.com
NNTP-Posting-Date: Thu, 28 Feb 2002 00:06:39 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000