作者: heiriama 出自: http://www.linuxdiyf.com ubuntu系统在安装时如果没有配置IP你只要开启ssh后配置一个IP及网关就可以远程操作了。下面就如何设置IP作个介绍: 一、ifconfig eth0(网卡名称) 10.0.0.5(ip地址) netmask 255.255.255.0(掩码) 二、route add default gw 10.0.0.1(网关) 三、开启ssh 查看是否有/etc/ssh/sshd_config文件 1、cat /etc/ssh/sshd_config 如果有则: 2、/etc/init.d/ssh restart ...
by sdccf - Linux文档专区 - 2008-05-06 08:45:58 阅读(685) 回复(0)
esxi作为一个精简版的esx,把ssh给默认关闭了,控制台也感觉专业了很多,可以使用下面方法打开ssh服务。 You have to have direct access to console 1.) While you are at the console hit ALT + F1 2.) Type in ” unsupported ” and hit Enter 3.) Go ahead and type the root password 4.) Go and edit the /etc/inetd.conf file 5.) Uncoment the line where you can see “#ssh” (line 32). Remove the “#” mark at the...
ubuntu开启root帐号 开启root帐号的方法: 为了启用root 帐号(也就是设置一个口令)使用: sudo passwd root 当你使用完毕后屏蔽root帐号使用: sudo passwd -l root 这个将锁住root帐号。 如何在终端模式下切换到root身份? sudo -s -H或者sudo - su Password: (当前用户的密码) ========================================================== ubuntu使用root登录 ubuntu系统默认是不允许用户以root身份登录的,虽然有一定的...
ubuntu安装后,root用户默认是被锁定了的,不允许登录,也不允许“su”到 root。对于用于开发的用户来说非常不方便。 ◆允许 su 到 root 非常简单,下面是设置的方法: [email=me@tipfoo:~$]me@tipfoo:~$[/email] sudo passwd Password: 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/84450/showart_1821671.html
今天刚把系统重install了一下,可是怎么也打不可root账户了 到网上找了一下,发现原来是这样: sudo passwd root 应该先输入当前用户密码,而后再输入准备为root设置的密码,再确认一遍就OK了. 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/56374/showart_1210855.html
ubuntu开启TELNET服务 1. sudo apt-get install xinetd telnetd 2. 安装成功后,系统也会有相应提示, sudo vi /etc/inetd.conf并加入以下一行 telnet stream tcp nowait telnetd /usr/sbin/tcpd /usr/sbin/in.telnetd 3. sudo vi /etc/xinetd.conf并加入以下内容: # Simple configuration file for xinetd # # Some defaults, and include /etc/xinetd.d/ defaults { # Please note that you need a log_type line ...
首先通过物理终端进入到linux上,手工检查ssh发现没运行 /etc/init.d/sshd status sshd is stopped 手工启动服务,发现报告权限错误。 /etc/init.d/sshd start Starting sshd:/var/empty/sshd must be owned by root and not group or world-writable. [FAILED] 使用rpm -V 命令可检查到ssh的软件包正常,但某个目录的属主错误。 rpm -V openssh-server S.5..... c /etc/ssh/sshd_config .....U.. /var/empty/sshd 经查看发现这个...
1 FTP服务 $ sudo apt-get install vsftpd 修改 vsftpd 配置文件 /etc/vsftpd.conf 将 #local_enable = yes #write_enable = yes 的 # 去掉 重启FTP 服务 $ sudo /etc/init.d/vsftpd restart 2 ssh 服务 $ sudo apt-get install openssh-server 配置文件 /etc/ssh/sshd_config 保持默认 3 NFS 服务 $ sudo apt-get install nfs-kernel-server portmap 在配置文件 /etc/exports 增加如下内容,以后可以通过网络文件系统访问...
作者:Koogcjz 出处:linuxdiyf.com 近日受老板之命,不得不在一台废弃的服务器上装个Solaris 10 。出于对Linux的喜爱,我对这个目前最正宗的UNIX操作系统之一很自然的带有好感,最初也想趁这个机会接触下传说中的UNIX 。 然而安装后确实大失所望:略显不友好的安装流程,安装完毕后丑陋的桌面环境,以及连命令补全功能都不具备的shell,天啊,这就是最纯粹的UNIX之一?我不由的怀念起Linux,就如刚接触Linux时怀念Win...
知识是一点点积累的。 hostname xxxx domain-name xxxx ca generate rsa key 2048 sh ca mypubkey rsa ca save all ssh 192.168.1.0 255.255.255.0 outside or ssh 10.0.0.0 255.255.255.0 inside ssh timeout 60 enable password cisco password cisco user name:pix password:cisco 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/25695/showart_366866.html
1. ubuntu 8.04 默认没有安装xinetd #sudo apt-get install xinetd ;安装xinetd服务(包含daytime) #sudo vi /etc/xinetd.d/daytime disable = yes ---> disabel = no ;开启 daytime服务 #sudo /etc/inet.d/xinetd restart ;重启xinetd 2. 查看端口使用情况 #sudo lsof -i:13 ;查看哪些进程打开了指定端口 (root权限) #sudo apt-get install nmap #nmap localhost ;查看所有打开的端口及服务名 PORT STATE ...