View previous topic :: View next topic |
Author |
Message |
CLod Apprentice


Joined: 23 Nov 2004 Posts: 280
|
Posted: Tue Dec 07, 2004 8:23 am Post subject: [RISOLTO]$HOME di root |
|
|
da quando ho fatto un aggiornamento al sistema dopo l'installazione della 2004.2, quando chiudo vim da root mi esce sempre il messaggio dicendomi che non riesce a salvare su .viminfo della $HOME.
Io non ho toccato nulla dopo l'upgrade.
Il passwd è a posto
il file .viminfo nella /root esiste e i permessi sono corretti
ci sono pure i .bash_profile, .bashh_history...
pare tutto ok
eppure mi esce sempre quel messaggio, come se il path della $HOME di root non ci sia o non sia corretto
sapete aiutarmi?  _________________ http://clod.gruppoimi.it -> my personal site
new zealand immigration...
Last edited by CLod on Thu Dec 09, 2004 1:30 pm; edited 1 time in total |
|
Back to top |
|
 |
fat_penguin Apprentice


Joined: 25 Jul 2004 Posts: 294 Location: sud side of Switzerland
|
Posted: Tue Dec 07, 2004 8:31 am Post subject: |
|
|
da root scrivi:
cosi vedi se la home è giusta!
byebye
fat_penguin |
|
Back to top |
|
 |
CLod Apprentice


Joined: 23 Nov 2004 Posts: 280
|
Posted: Thu Dec 09, 2004 9:30 am Post subject: |
|
|
fat_penguin wrote: | da root scrivi:
cosi vedi se la home è giusta!
|
infatti non mi restituisce nulla...
che è successo??
 _________________ http://clod.gruppoimi.it -> my personal site
new zealand immigration... |
|
Back to top |
|
 |
CLod Apprentice


Joined: 23 Nov 2004 Posts: 280
|
Posted: Thu Dec 09, 2004 9:58 am Post subject: |
|
|
come ripristino la $HOME di root? _________________ http://clod.gruppoimi.it -> my personal site
new zealand immigration... |
|
Back to top |
|
 |
randomaze Bodhisattva


Joined: 21 Oct 2003 Posts: 9985
|
Posted: Thu Dec 09, 2004 10:23 am Post subject: |
|
|
CLod wrote: | come ripristino la $HOME di root? |
Come diventi root? con "su", con "su -" o fai l'intero login? _________________ Ciao da me! |
|
Back to top |
|
 |
CLod Apprentice


Joined: 23 Nov 2004 Posts: 280
|
Posted: Thu Dec 09, 2004 10:24 am Post subject: |
|
|
con su -l _________________ http://clod.gruppoimi.it -> my personal site
new zealand immigration... |
|
Back to top |
|
 |
randomaze Bodhisattva


Joined: 21 Oct 2003 Posts: 9985
|
Posted: Thu Dec 09, 2004 10:27 am Post subject: |
|
|
Fai solamente "su -" (su trattino) senza altre lettere e riprova l'echo... _________________ Ciao da me! |
|
Back to top |
|
 |
CLod Apprentice


Joined: 23 Nov 2004 Posts: 280
|
Posted: Thu Dec 09, 2004 1:19 pm Post subject: |
|
|
facendo 'su' e 'su -' funziona correttamente
il 'su -l' lo usavo su mandrake xkè altrimenti non mi prendeva i comandi di root
come mai però se uso 'su -l' non mi prende il $HOME? _________________ http://clod.gruppoimi.it -> my personal site
new zealand immigration... |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 31486 Location: here
|
Posted: Thu Dec 09, 2004 1:21 pm Post subject: |
|
|
Non ha l'opzione -l su _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
CLod Apprentice


Joined: 23 Nov 2004 Posts: 280
|
Posted: Thu Dec 09, 2004 1:22 pm Post subject: |
|
|
ok
sto zitto  _________________ http://clod.gruppoimi.it -> my personal site
new zealand immigration... |
|
Back to top |
|
 |
mouser Veteran


Joined: 10 Aug 2004 Posts: 1419 Location: Milano
|
Posted: Thu Dec 09, 2004 1:22 pm Post subject: |
|
|
Ti consiglio di utilizzare
su dimenticalo!
Per il
purtroppo non so aiutarti.
[fedeliallalinea mode]
metti il tag risolto al titolo
[/fedeliallalinea mode]
My 2 eurocent
mouser  |
|
Back to top |
|
 |
randomaze Bodhisattva


Joined: 21 Oct 2003 Posts: 9985
|
Posted: Thu Dec 09, 2004 1:39 pm Post subject: |
|
|
fedeliallalinea wrote: | Non ha l'opzione -l su |
Non proprio:
man su wrote: | Additional arguments may be provided after the username, in which case they are supplied to the user login shell. In particular, an argument of -c will cause the next argument to be treated as a command by most command interpreters. The command will be executed by the shell specified in /etc/passwd for the target user. |
quindi quel '-l' viene passato alla bash aumentando l'entropia... _________________ Ciao da me! |
|
Back to top |
|
 |
|