Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linuxÓû§(user)ºÍÓû§×é(group)

add user£º
[root@localhost ~]# useradd test
[root@localhost ~]# passwd test
add user to a group:
e.g. add nexus to admin
useradd -g admin nexus
default role£º
[root@localhost ~]# useradd -D
GROUP=100
HOME=/home
INACTIVE=-1
EXPIRE=
SHELL=/bin/bash
SKEL=/etc/skel
CREATE_MAIL_SPOOL=no
delete user£º
[root@localhost ~]# userdel test
[root@localhost ~]# userdel -r test
¹ÜÀíÓû§£¨user£©µÄ¹¤¾ß»òÃüÁ
useradd    ×¢£ºÌí¼ÓÓû§
adduser    ×¢£ºÌí¼ÓÓû§
passwd     ×¢£ºÎªÓû§ÉèÖÃÃÜÂë
usermod  ×¢£ºÐÞ¸ÄÓû§ÃüÁ¿ÉÒÔͨ¹ýusermod À´Ð޸ĵǼÃû¡¢Óû§µÄ¼ÒĿ¼µÈµÈ£»
pwcov       ×¢£ºÍ¬²½Óû§´Ó/etc/passwd µ½/etc/shadow
pwck         ×¢£ºpwckÊÇУÑéÓû§ÅäÖÃÎļþ/etc/passwd ºÍ/etc/shadow ÎļþÄÚÈÝÊÇ·ñºÏ·¨»òÍêÕû£»
pwunconv  ×¢£ºÊÇpwcov µÄÁ¢ÄæÏò²Ù×÷£¬ÊÇ´Ó/etc/shadowºÍ /etc/passwd ´´½¨/etc/passwd £¬È»ºó»áɾ³ý /etc/shadow Îļþ£»
finger        ×¢£º²é¿´Óû§ÐÅÏ¢¹¤¾ß
id              ×¢£º²é¿´Óû§µÄUID¡¢GID¼°Ëù¹éÊôµÄÓû§×é
chfn          ×¢£º¸ü¸ÄÓû§ÐÅÏ¢¹¤¾ß
su             ×¢£ºÓû§Çл»¹¤¾ß
sudo         ×¢£ºsudo ÊÇͨ¹ýÁíÒ»¸öÓû§À´Ö´ÐÐÃüÁexecute a command as another user£©£¬su ÊÇÓÃÀ´Çл»Óû§£¬È»ºóͨ¹ýÇл»µ½µÄÓû§À´Íê³ÉÏàÓ¦µÄÈÎÎñ£¬µ«sudo ÄܺóÃæÖ±½ÓÖ´ÐÐÃüÁ±ÈÈçsudo ²»ÐèÒªroot ÃÜÂë¾Í¿ÉÒÔÖ´ÐÐroot ¸³ÓëµÄÖ´ÐÐÖ»ÓÐroot²ÅÄÜÖ´ÐÐÏàÓ¦µÄÃüÁµ«µÃͨ¹ývisudo À´±à¼­/etc/sudoersÀ´ÊµÏÖ£»
visudo      ×¢£ºvisodo ÊDZ༭ /etc/sudoers µÄÃüÁҲ¿ÉÒÔ²»ÓÃÕâ¸öÃüÁֱ½ÓÓÃvi À´±à¼­ /etc/sudoers µÄЧ¹ûÊÇÒ»ÑùµÄ£»
sudoedit  ×¢£ººÍsudo ¹¦Äܲ¶à£»
2£©¹ÜÀíÓû§×飨group£©µÄ¹¤¾ß»òÃüÁ
groupadd  ×¢£ºÌí¼ÓÓû§×飻
groupdel         ×¢£ºÉ¾³ýÓû§×飻
groupmod&


Ïà¹ØÎĵµ£º

ÓÃLinuxÏÂPerl½Å±¾Á¬½ÓSQLServer

×¼±¸¹¤×÷:
¡¡¡¡Óõ½µÄperl À©Õ¹×é¼þ(modules)ÔÚÉÏƪÌù³ö.( win32::odbc Ä£¿é
)ÏÂÔØ×é¼þºó°´ÕÕReadmeÎļþ°²×°µ¹ÏìӦĿ¼.ÅäÖúÃÏàÓ¦µÄodbcÊý¾ÝÔ´.
¡¡¡¡
¡¡¡¡³ÌÐòʵÏÖ:
¡¡¡¡Ê¹ÓÃ
¡¡¡¡use
Win32::ODBC;
¡¡¡¡
¡¡¡¡Óï¾ä°üº¬Ó¦Ê¹ÓõÄÄ£¿éÊÇwin32::odbc,д³öÊý¾Ý¿â
Á¬½Ó×Ö·û´®
¡¡¡¡
¡¡¡¡$DSN = "DSN =
My DSN ......

ʹÓà /sys Îļþϵͳ·ÃÎÊ Linux ÄÚºË

sysfs ÊÇ Linux ÄÚºËÖÐÉè¼Æ½ÏеÄÒ»ÖÖÐéÄâµÄ»ùÓÚÄÚ´æµÄÎļþϵͳ£¬ËüµÄ×÷ÓÃÓë proc ÓÐЩÀàËÆ£¬µ«³ýÁËÓë
proc ÏàͬµÄ¾ßÓв鿴ºÍÉ趨Äں˲ÎÊý¹¦ÄÜÖ®Í⣬»¹ÓÐΪ Linux ͳһÉ豸ģÐÍ×÷Ϊ¹ÜÀíÖ®Óá£Ïà±ÈÓÚ proc Îļþϵͳ£¬Ê¹Óà sysfs
µ¼³öÄÚºËÊý¾ÝµÄ·½Ê½¸üΪͳһ£¬²¢ÇÒ×éÖ¯µÄ·½Ê½¸üºÃ£¬ËüµÄÉè¼Æ´Ó proc ÖÐÎüÈ¡Á˺ܶà½Ìѵ¡£±¾Îľ ......

Ò»²½Ò»Ñ§LinuxÓëWindows ¹²ÏíÎļþSamba £¨v0.2b£©

Ò»²½Ò»Ñ§LinuxÓëWindows ¹²ÏíÎļþSamba £¨v0.2b£©
×÷Õߣº±±ÄÏÄϱ±£¬ÕýÔÚÔö¼ÓÖÐ... ... ÐèÒªÄúµÄ²ÎÓ룻
À´×Ô£ºLinuxSir.Org
¼ò½é£º±¾ÎÄÖ»Êǽ²Ò»½²ÎÒÃÇ×î³£ÓõÄLinuxÓëWindows¹²ÏíÎļþ£¬Ö÷ÒªÊÇΪÐÂÊÖָһָ·¡£ÈçºÎ½¨Á¢×î¼òµ¥µÄSamba·þÎñÆ÷£¬²¢½²ÊöÓöµ½ÎÊÌâÓ¦¸Ã´ÓºÎ´¦Ñ°ÕÒ½â¾ö·½°¸£»ÕýÔÚ¸üÐÂÖ®ÖУ¬Ï£ÍûÄúµÄ²Î¼Ó ... ... л ......

LinuxÉ豸 £¨×ª£©

5.3.2  É豸ÀàÐÍ·ÖÀà
×ÝÀÀlinux/driversĿ¼£¬´ó¸Å»¹ÓÐ35¸öÒÔÉϵÄ×ÓĿ¼£¬Ã¿¸ö×ÓĿ¼»ù±¾ÉϾʹú±íÁËÒ»ÖÖÉ豸Çý¶¯£¬ÓÐatm¡¢block¡¢char¡¢misc¡¢input¡¢net¡¢usb¡¢sound¡¢videoµÈ¡£ÕâÀïÖ»ÃèÊöÔÚǶÈëʽϵͳÀïÃæÓõÃ×îΪ¹ã·ºµÄ3ÖÖÉ豸¡£
1£®×Ö·ûÉ豸£¨char device£©
×Ö·ûÉ豸ÊÇLinux×î¼òµ¥µÄÉ豸£¬¿ÉÒÔÏñÎļþÒ»Ñù·ÃÎÊ¡£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ