普通用户无法ADSL拨号
只有root可以拨号,普通用户拨号时就ppp0找不到IP地址还有开机时花在bring up eth0上的时间不少
我用的RC2 是进入系统后新建的普通用户吧?你在 root 下用 visudo 仿照下面,加一行给普通用户 adsl 拨号权限:
KanKer ALL=NOPASSWD:/bin/mount -t iso9660 -o loop\,ro\,nodev\,exec\,nosuid\,* */Mount-ISO*,/bin/umount */Mount-ISO*,/usr/sbin/adsl-connect,/usr/sbin/adsl-start,/usr/sbin/adsl-status,/usr/sbin/adsl-stop 怎样缩短bring up eth0的时间呢 给 eth0 设上固定 ip 即可。 visudo怎么用啊 跟 vi 的用法一样,是专门用来编辑/etc/sudoers 的编辑器。 sorry,看到帮助了:
*help.txt* For Vim version 6.4.Last change: 2004 Aug 29
VIM - main help file
k
Move around:Use the cursor keys, or "h" to go left, h l
"j" to go down, "k" to go up, "l" to go right. j
Close this window:Use ":q<Enter>".
Get out of Vim:Use ":qa!<Enter>" (careful, all changes are lost!).
Jump to a subject:Position the cursor on a tag between |bars| and hit CTRL-].
With the mouse:":set mouse=a" to enable the mouse (in xterm or GUI).
Double-click the left mouse button on a tag between |bars|.
Jump back:Type CTRL-T or CTRL-O (repeat to go further back).
Get specific help:It is possible to go directly to whatever you want help
on, by giving an argument to the ":help" command |:help|.
It is possible to further specify the context:
*help-context*
WHAT PREPEND EXAMPLE
Normal mode command (nothing) :help x
Visual mode command v_ :help v_u
Insert mode command i_ :help i_<Esc>
Command-line command : :help :quit
Command-line editing c_ :help c_<Del>
Vim command argument - :help -r
Option ' :help 'textwidth'
Search for help:Type ":help word", then hit CTRL-D to see matching
help entries for "word".
VIM stands for Vi IMproved.Most of VIM was made by Bram Moolenaar, but only
through the help of many others.See |credits|.
------------------------------------------------------------------------------
*doc-file-list* *Q_ct*
BASIC:
|quickref| Overview of the most common commands you will use
|tutor| 30 minutes training course for beginners
|copying| About copyrights
|iccf| Helping poor children in Uganda
|sponsor| Sponsor Vim development, become a registered Vim user
|www| Vim on the World Wide Web
|bugs| Where to send bug reports
…… 学了半天没学会,告诉我怎么输入和保存吧, :oops: Got it! :)
页:
[1]