Creazione Nuovi Utenti: qualche perplessita`.
DisKre Panza
demokrito a tin.it
Mer 5 Dic 2001 21:41:30 UTC
Mercoledì 05 Dicembre 2001 marco ghidinelli ha scritto :
> ho provato anch'io a guardare come mai apropos non va....
> sia provando ad esportare la manpath che altro...
Meno male che non sono proprio cosi` tordo, allora... :)
> temo che pero' questo sia legato a un problema di sicurezza,
> per cui debian ti chiede se vuoi disabilitare - se non sbaglio
> - il setuid di alcuni programmi relativi alla gestione pagine
> di manuale.
*****************************************************************
*** ATTENZIONE! ***
*****************************************************************
Ho avuto una illuminazione leggendo il man di manpath: il file
/etc/manpath.config!
Ho aggiunto le righe 'quotate' nelle varie sezioni:
# man_db.config
#
# This file is used by the man_db package to configure the man and cat paths.
# It is also used to provide a manpath for those without one by examining
# their PATH environment variable. For details see the manpath(5) man page.
[...]
# There are three mappings allowed in this file:
# --------------------------------------------------------
# MANDATORY_MANPATH manpath_element
# MANPATH_MAP path_element manpath_element
# MANDB_MAP global_manpath [relative_catpath]
#---------------------------------------------------------
> MANDATORY_MANPATH /usr/share/man/it
#---------------------------------------------------------
# set up PATH to MANPATH mapping
# ie. what man tree holds man pages for what binary directory.
#
# *PATH* -> *MANPATH*
> MANPATH_MAP /bin /usr/share/man/it
> MANPATH_MAP /usr/bin /usr/share/man/it
> MANPATH_MAP /sbin /usr/share/man/it
> MANPATH_MAP /usr/sbin /usr/share/man/it
# Any manpaths that are `contained' within other manpaths must be mentioned
# *before* the containing manpath. E.g. /usr/man/preformat must be listed
# before /usr/man.
#
# *MANPATH* -> *CATPATH*
#
> MANDB_MAP /usr/share/man/it /var/cache/man/it
Poi ho dato il comando 'mandb'. Ha dato qualche messaggio di
warning, poi ha messo le cose a posto da solo.
Ora, da semplice utente, ottengo:
-----------------------------------------------------------------
~$ apropos attributi
chattr (1) - cambia gli attributi di file su di un Linux second
extended file system
install (1) - copia file e imposta attributi
lsattr (1) - mostra gli attributi di un file su di un Linux
second extended file system
mattrib (1) - cambia gli attributi di un file MSDOS
chattr (1) - cambia gli attributi di file su di un Linux second
extended file system
install (1) - copia file e imposta attributi
lsattr (1) - mostra gli attributi di un file su di un Linux
second extended file system
mattrib (1) - cambia gli attributi di un file MSDOS
-----------------------------------------------------------------
Ora mi sento meglio... :)))
(e poi non dite che non mi impegno, ok?)
--
deadman walking
Maggiori informazioni sulla lista
Lug
|