作者mitsui0309 (前途无量、前途无亮??)
看板FreeBSD
标题Re: [问题] 远端使用者登入只出现 >
时间Tue Dec 28 17:06:26 2010
※ 引述《bestwishes (觅知音 寻知己...)》之铭言:
: ※ 引述《mitsui0309 (前途无量、前途无亮??)》之铭言:
: : 小弟是freebsd初心者
: : 所以按照书跟估狗来的教学一步一步学起
: : 我安装的版本是 8.0 release
: : 刚刚本机安装系统
: : 学习创建新帐号及修改环境变数
: : http://mail.lsps.tp.edu.tw/~gsyan/freebsd2001/newsetup.html
: : 依上述网页教学之後
: : 目前我的远端一般使登入,只有出现 >
: : 而root登入却是
: : root@www[/root]#
: : 请问各位先进,我该更改那个档案呢?
: ~/.cshrc
前辈你好
我依网页上更改的档案如下
# $FreeBSD: src/etc/root/dot.cshrc,v 1.30.10.1.2.1 2009/10/25 01:10:29 kensmith Exp $
#
# .cshrc - csh resource script, read at beginning of execution by each shell
#
# see also csh(1), environ(7).
#
alias h history 25
alias j jobs -l
alias la ls -a
alias lf ls -FA
alias ll ls -lA
# A righteous umask
umask 22
set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin $HOME/bin)
setenv EDITOR vi
setenv PAGER more
setenv BLOCKSIZE K
if ($?prompt) then
# An interactive shell -- set some stuff up
set prompt = "%B%n@%m[%/]#"
^^^^^^^^^^^^^^^
这是我先前更改的地方,感觉上这是给root登入使用~
set filec
set history = 100
set savehist = 100
set mail = (/var/mail/$USER)
if ( $?tcsh ) then
bindkey "^W" backward-delete-word
bindkey -k up history-search-backward
bindkey -k down history-search-forward
endif
endif
还是说,还有其它地方也要修改........
--
※ 编辑: mitsui0309 来自: 1.169.156.241 (04/15 23:16)