我进不了系统了 只能在输命令那 怎么办啊 ?

为当前最终发行版之前的所有版本提供支持
回复
cdisk
帖子: 16
注册时间: 2008-10-21 19:32
送出感谢: 0
接收感谢: 0

我进不了系统了 只能在输命令那 怎么办啊 ?

#1

帖子 cdisk » 2008-10-23 14:11

我改了个文件 “systrl.conf” 改了后进不了系统了 只能在输命令那就不能进了 只能打命令了 。
有没有什么办法可以复制一个到里面啊 我是windows下安装的 只有几个磁盘文件 。可不可以编辑那些磁盘文件啊 怎么办啊 用什么命令可以修改文件啊 像windows的edit那种之类的 。 或者在命令下认不认U盘啊 能不能把那个文件烤进U盘 写好了再复制回去啊 怎么弄啊? 求求各位帮我拉 我进不了系统了啊 。
头像
daf3707
论坛版主
帖子: 12668
注册时间: 2007-06-13 15:57
来自: 在他乡
送出感谢: 49 次
接收感谢: 85 次

Re: 我进不了系统了 只能在输命令那 怎么办啊 ?

#2

帖子 daf3707 » 2008-10-23 14:17

vi
vim
nano
ed
头像
sevk
帖子: 2059
注册时间: 2007-05-08 16:26
系统: arch
来自: 火星内核某分子内某原子核内
送出感谢: 20 次
接收感谢: 6 次
联系:

Re: 我进不了系统了 只能在输命令那 怎么办啊 ?

#3

帖子 sevk » 2008-10-23 14:22

vim比如复杂。新手还是用nano systrl.conf 吧。

locate -r sysctl.conf$
/etc/sysctl.conf
/etc/ufw/sysctl.conf
/usr/share/doc/procps/examples/sysctl.conf






cat /etc/sysctl.conf

代码: 全选

#
# /etc/sysctl.conf - Configuration file for setting system variables
# See sysctl.conf (5) for information.
#

#kernel.domainname = example.com

# the following stops low-level messages on console
kernel.printk = 4 4 1 7

# enable /proc/$pid/maps privacy so that memory relocations are not
# visible to other users.  (Added in kernel 2.6.22.)
kernel.maps_protect = 1

# Increase inotify availability
fs.inotify.max_user_watches = 524288

# protect bottom 64k of memory from mmap to prevent NULL-dereference
# attacks against potential future kernel security vulnerabilities.
# (Added in kernel 2.6.23.)
vm.mmap_min_addr = 65536

##############################################################3
# Functions previously found in netbase
#

# Comment the next two lines to disable Spoof protection (reverse-path filter)
# Turn on Source Address Verification in all interfaces to
# prevent some spoofing attacks
net.ipv4.conf.default.rp_filter=1
net.ipv4.conf.all.rp_filter=1

# Uncomment the next line to enable TCP/IP SYN cookies
# This disables TCP Window Scaling (http://lkml.org/lkml/2008/2/5/167)
#net.ipv4.tcp_syncookies=1

# Uncomment the next line to enable packet forwarding for IPv4
#net.ipv4.ip_forward=1

# Uncomment the next line to enable packet forwarding for IPv6
#net.ipv6.ip_forward=1


###################################################################
# Additional settings - these settings can improve the network
# security of the host and prevent against some network attacks
# including spoofing attacks and man in the middle attacks through
# redirection. Some network environments, however, require that these
# settings are disabled so review and enable them as needed.
#
# Ignore ICMP broadcasts
#net/ipv4/icmp_echo_ignore_broadcasts = 1
#
# Ignore bogus ICMP errors
#net/ipv4/icmp_ignore_bogus_error_responses = 1
# 
# Do not accept ICMP redirects (prevent MITM attacks)
#net/ipv4/conf/all/accept_redirects = 0
# _or_
# Accept ICMP redirects only for gateways listed in our default
# gateway list (enabled by default)
# net/ipv4/conf/all/secure_redirects = 1
#
# Do not send ICMP redirects (we are not a router)
#net/ipv4/conf/all/send_redirects = 0
#
# Do not accept IP source route packets (we are not a router)
#net/ipv4/conf/all/accept_source_route = 0
#
# Log Martian Packets
#net/ipv4/conf/all/log_martians = 1
#
# Always defragment packets
#net/ipv4/ip_always_defrag = 1
笔记本 :
F208S : gentoo
A460P i3G D6 : UBUNTU + WIN7
UN43D1 : UBUNTU + WIN7
1000人超级QQ群 LINUX + WIN : 31465544 或 18210387
cdisk
帖子: 16
注册时间: 2008-10-21 19:32
送出感谢: 0
接收感谢: 0

Re: 我进不了系统了 只能在输命令那 怎么办啊 ?

#4

帖子 cdisk » 2008-10-24 19:38

弄出来了 原来可以直接安ESC~~~ 么看到那排小字 ~
头像
木泥黑
帖子: 1339
注册时间: 2008-10-18 12:41
送出感谢: 0
接收感谢: 0

Re: 我进不了系统了 只能在输命令那 怎么办啊 ?

#5

帖子 木泥黑 » 2008-10-25 9:48

:em06
回复

回到 “老旧版本支持”