editor
Giorgos Keramidas
charon at labs.gr
Mon Nov 26 22:05:01 EET 2001
On 2001-11-26 16:50:02, George Barbounis wrote:
> Gia sas....
> 8a h8ela n'alaksw to default editor sto root pou einai o vi kai 8a h8ela sth
> 8esh tou na einai o pico stous users to alaksa apo to arxeio .bashrc
> prosthetontas thn entolh export EDITOR=/usr/bin/pico sto dir tou root sen
> yparxei auto to arxeio mipos mporei kapios na boh8eisei eyxaristw.
>
> http://www.geocitgies.com/barbounis
> http://knosos.myip.org (if i am connect)
Sto /etc/passwd sou tha breis to shell pou exei o root. Sto diko mou
mixanima p.x. einai:
$ grep ^root /etc/passwd
root:*:0:0:Superuser:/root:/bin/tcsh
Analoga me to poio einai to shell, tha breis kai to katallhlo arxeio
gia na kaneis tis ry8miseis sou. An einai to /bin/bash tote oi
allages pou thes na kaneis pane sto ~root/.bashrc enw an einai to csh
h to tcsh (etsi einai sta BSD) oi allages pane sto ~root/.cshrc h sto
~root/.tcshrc antistoixa.
Pantos, prosexe me to EDITOR=pico giati o pico exei tin kakia
sinitheia na kanei anadiplosh sto keimeno pou fortoneis, kai polla
arxeia ru8misewn tou susthmatos mporei na exoun kapoio problhma otan
to kaneis auto. Gia paradeigma des auto:
charon:*:1001:1001:Giorgos Keramidas:/home/charon:/usr/local/bin/zsh
kai meta auto:
charon:*:1001:1001:Giorgos
Keramidas:/home/charon:/usr/local/bin/zsh
To prwto einai ena valid password entry. To deutero einai ena entry
pou to pico eide oti jepernaei to mhkos ths grammhs pou tou aresei,
kai to anadiplose sto prwto keno. Mono pou auto ekane kai tis duo
grammes na *min* einai sostes :)
-giorgos
More information about the Linux-greek-users
mailing list