¡¾Linux×ÀÃæÓ¦Óá¿sudoµÄÓ÷¨¼°ÅäÖÃ
sudoÊÇlinuxϳ£ÓõÄÔÊÐíÆÕͨÓû§Ê¹Ó󬼶Óû§È¨Ï޵Ť¾ß¡£
ËüµÄÖ÷ÒªÅäÖÃÎļþÊÇsudoers,linuxÏÂͨ³£ÔÚ/etcĿ¼Ï£¬Èç¹ûÊÇsolaris£¬È±Ê¡²»×°sudoµÄ£¬±àÒë°²×°ºóͨ³£ÔÚ°²×°Ä¿Â¼µÄ etcĿ¼Ï£¬²»¹ý²»¹ÜsudoersÎļþÔÚÄĶù£¬sudo¶¼ÌṩÁËÒ»¸ö±à¼¸ÃÎļþµÄÃüÁvisudoÀ´¶Ô¸ÃÎļþ½øÐÐÐ޸ġ£Ç¿ÁÒÍƼöʹÓøÃÃüÁîÐÞ¸Ä sudoers£¬ÒòΪËü»á°ïÄãУÑéÎļþÅäÖÃÊÇ·ñÕýÈ·£¬Èç¹û²»ÕýÈ·£¬ÔÚ±£´æÍ˳öʱ¾Í»áÌáʾÄãÄĶÎÅäÖóö´íµÄ¡£
ÑÔ¹éÕý´«£¬ÏÂÃæ½éÉÜÈçºÎÅäÖÃsudoers
Ê×ÏÈдsudoersµÄȱʡÅäÖãº
#############################################################
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
#
# Host alias specification
# User alias specification
# Cmnd alias specification
# Defaults specification
# User privilege specification
root ALL=(ALL) ALL
# Uncomment to allow people in group wheel to run all commands
# %wheel ALL=(ALL) ALL
# Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL
# Samples
# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
# %users localhost=/sbin/shutdown -h now
##################################################################
1. ×î¼òµ¥µÄÅäÖã¬ÈÃÆÕͨÓû§support¾ßÓÐrootµÄËùÓÐȨÏÞ
Ö´ÐÐvisudoÖ®ºó£¬¿ÉÒÔ¿´¼ûȱʡֻÓÐÒ»ÌõÅäÖãº
root ALL=(ALL) ALL
ÄÇôÄã¾ÍÔÚϱßÔÙ¼ÓÒ»ÌõÅäÖãº
support ALL=(ALL) ALL
ÕâÑù£¬ÆÕͨÓû§support¾ÍÄܹ»Ö´ÐÐrootȨÏÞµÄËùÓÐÃüÁî
ÒÔsupportÓû§µÇ¼֮ºó£¬Ö´ÐУº
sudo su -
È»ºóÊäÈësupportÓû§×Ô¼ºµÄÃÜÂ룬¾Í¿ÉÒÔÇл»³ÉrootÓû§ÁË
2. ÈÃÆÕͨÓû§supportÖ»ÄÜÔÚij¼¸Ì¨·þÎñÆ÷ÉÏ£¬Ö´ÐÐrootÄÜÖ´ÐеÄijЩÃüÁî
Ê×ÏÈÐèÒªÅäÖÃһЩAlias£¬ÕâÑùÔÚÏÂÃæÅäÖÃȨÏÞʱ£¬»á·½±ãһЩ£¬²»ÓÃд´ó¶Î´ó¶ÎµÄÅäÖá£AliasÖ÷Òª·Ö³É4ÖÖ
Host_Alias
Cmnd_Alias
User_Alias
Runas_Alias
1) ÅäÖÃHost_Alias£º¾ÍÊÇÖ÷»úµÄÁбí
Host_Alias HOST_FLAG = hostname1, h
Ïà¹ØÎĵµ£º
ÌâÄ¿£ºÔÚLinuxϵÄMATLABÖÐÔËÐÐMATLAB³ÌÐò²¢ÔÚwebÖÐÏÔʾ½á¹û
ÎÒ×öÁËÒ»¸öÀý×ÓÖ÷ÒªÓÐ5¸öÎļþ£º
webtttt.html webtttt1.html webtttt2.html webtttttempt.html webttttrnd.m
1.webtttt1.htmlÎļþ
<!-- $Revision: 1.2 $ -->
<HTML>
<HEAD>
<TITLE>Simulat ......
¹¤×÷ÖÐÓõ½gdbÀ´·ÖÎö³ÌÐò±ÀÀ£Éú²úµÄcoreÎļþÎÊÌ⣺
ÕâÀï´ÓÍøÉϲéÀ´µÄÒ»¸öÃüÁîÓ÷¨£º
1,˵Ã÷:
ulimitÓÃÓÚshellÆô¶¯½ø³ÌËùÕ¼ÓõÄ×ÊÔ´.
2,Àà±ð:
shellÄÚ½¨ÃüÁî
3,Óï·¨¸ñʽ:
  ......
Ò»¡¢Äں˵ĻñµÃ
¿ÉÒÔ´ÓÍøÉÏÏÂÔØÄÚºËÎļþ£¬http://www.kernel.org¡£Èç¹ûÊÇΪÁËÁ·Ï°£¬¾¡Á¿ÏÂÔØ£².4.xµÄÄںˡ£ÒòΪ2.6.xµÄÄں˱Ƚϴ󣬵±È»±àÒëÒ²ÐèÒª¸ü¶¼µÄʱ¼ä¡£
¶þ¡¢Äں˵ıàÒë
LinuxÄں˵ıàÒë²Ëµ¥Ö÷ÒªÓÐÈý¸ö°æ±¾£º
£±£©make config£º½øÈëÃüÁîÐУ¬¿ÉÒÔÒ»ÐÐÒ»ÐеÄÅäÖá£
£²£©make menuconfig£º¿ª·¢ÈËÔ±±È½ÏÊìÏ ......
ºÍÎÒÃÇÌÖÂÛµÄÖ÷ÌâÔ½À´Ô½½üÁË¡£¡°ÄÐÅÂÈë´íÐУ¬Å®Å¼޴íÀÉ¡±£¬ÎÒ¶ÔÕâ¾ä»°µÄÌå»áÔ½À´Ô½Éî¿ÌÁË¡£×î½üÓиöÃñÉúÒøÐеÄÀÏ×ܺÍÎÒ̽ÌÖÁËÕâ¸öÎÊÌ⣬ºÁÎÞÒÉÎÊ£¬ÔÚÒøÐÐÕâ¸öÐÐÒµ¿Ï¶¨±ÈÒ»°ãµÄÐÐÒµÕõÇ®¡£ÓÚÊÇ£¬×ÔÈ»Çе½ÎÒÃǵĻ°Ì⣺LinuxÕâ¸öÐÐÒµÔõôÑù£¿ÕõÇ®Âð£¿ÒÔºó¿ªÔ´ÁËÎÒ»¹Óз¹³ÔÂð£¿×î½ü£¬ÎÒÄõ½ÁËÒ»·ÝLinuxµÄÖ°Òµ±¨¸æ¡£µ÷²é ......
linuxÏÂĬÈÏÖ»ÄܽâѹzipѹËõÎļþ£¬¶ørarÎļþĬÈÏûÓнâѹ֧³ÖµÄ¹¤¾ß£¬ÕâÀïÌṩһ¸ö¼òµ¥µÄ·½Ê½£¬°²×°rar¹¤¾ß£¬Ö§³ÖlinuxϽâѹrarÎļþ¡£
1£ºÊ×ÏÈÏÂÔØrar½âѹ¹¤¾ß£¬ÕâÀïÓà rarlinux-3.6.b6.tar.gz£¬¸ø³öÒ»¸öÍøÓÑÌṩµÄ°æ±¾ÏÂÔصØÖ·£º
http://blogimg.chinaunix.net/blog/upfile2/080226173046.gz
2£º½ÓÏÂÀ´Ö´ÐÐÈçϲÙ×÷
t ......