請問tcsh的root login的問題 - BBS

Belly avatar
By Belly
at 2005-10-04T23:57

Table of Contents

man tcsh:
....
A login shell begins by executing commands from the system files
/etc/csh.cshrc and /etc/csh.login. It then executes commands from
files in the user's home directory: first ~/.tcshrc (+) or, if
~/.tcshrc is not found, ~/.cshrc, then ~/.history (or the value of the
histfile shell variable), then ~/.login, and finally ~/.cshdirs (or the
value of the dirsfile shell variable) (+). The shell may read
/etc/csh.login before instead of after /etc/csh.cshrc, and ~/.login
before instead of after ~/.tcshrc or ~/.cshrc and ~/.history, if so
compiled; see the version shell variable. (+)
.....

可是我用root登入或是su成root,
shell都不會去讀~/.cshrc,
請問有人踫到這種情況嗎?
我~/下只建.cshrc,
但是一般user就沒問題了。

--
Tags: BBS

All Comments

Re: gcin怎麼使用無蝦米丫??

Kama avatar
By Kama
at 2005-10-04T23:53
※ 引述《pig (歡迎加入豬頭黨)》之銘言: : ※ 引述《rhrphu (小豆)》之銘言: : : 不過gcin就是沒有支援無蝦米吶~~~要另外裝的樣子~~?就是不知如何裝?? : 你不要太誇張,我已經跟你講用ports來安裝了, : ports裡的chinese/gcin只要下一道指令,裝完就有嘸蝦米可 ...

請問可否自行修改 /etc/master.passwd

Mia avatar
By Mia
at 2005-10-04T23:52
請問 我想用程式自行修改 /etc/master.passwd 改密碼, or full name 之類 那改完是要呼叫 pw_mkdb(NULL) 嗎? thanks~~ - ...

Re: gcin怎麼使用無蝦米丫??

Hardy avatar
By Hardy
at 2005-10-04T23:49
※ 引述《rhrphu (小豆)》之銘言: : ※ 引述《pig (歡迎加入豬頭黨)》之銘言: : : 請用ports來安裝 : : gcin has the following tunable option: : : WITH_BOSHIAMY - enable Boshiamy support ...

Re: gcin怎麼使用無蝦米丫??

Lucy avatar
By Lucy
at 2005-10-04T23:46
※ 引述《pig (歡迎加入豬頭黨)》之銘言: : ※ 引述《rhrphu (小豆)》之銘言: : : 如題??? : : 我想要用gcin來使用無蝦米輸入法~~不過不會裝~~有誰能教教我?? : 請用ports來安裝 : gcin has the following tunable option: : ...

Re: gcin怎麼使用無蝦米丫??

Yedda avatar
By Yedda
at 2005-10-04T23:40
※ 引述《rhrphu (小豆)》之銘言: : 如題??? : 我想要用gcin來使用無蝦米輸入法~~不過不會裝~~有誰能教教我?? 請用ports來安裝 gcin has the following tunable option: WITH_BOSHIAMY - enable Boshiamy ...