Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Tip]Aggiungere user con il "punto" nel nome[RIS.]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools)
View previous topic :: View next topic  
Author Message
TeoBì
Apprentice
Apprentice


Joined: 31 May 2004
Posts: 150

PostPosted: Mon Oct 04, 2004 2:10 pm    Post subject: [Tip]Aggiungere user con il "punto" nel nome[RIS.] Reply with quote

Ciao ragazzi,
avrei bisogno di far accettare al sistema utenti che hanno uno o più "punti" nel nome, ad esempio: pippo.pluto

Se provo a fare:
Code:

useradd pippo.pluto


ho il seguente errore:
Code:
useradd: invalid user name 'pippo.pluto'


Grazie per l'aiuto in anticipo.


Last edited by TeoBì on Mon Oct 04, 2004 5:36 pm; edited 3 times in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30835
Location: here

PostPosted: Mon Oct 04, 2004 2:17 pm    Post subject: Reply with quote

Non penso si possa. Prova a farlo con l'underscore pippo_pluto
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
silverfix
Tux's lil' helper
Tux's lil' helper


Joined: 19 Mar 2003
Posts: 146
Location: born: Foggia - now: Bari

PostPosted: Mon Oct 04, 2004 2:58 pm    Post subject: Reply with quote

infatti non si può perchè il sistema dopo il punto si aspetta il gruppo:

nomeutente.nomegruppo

l'unica è l'underscore

:wink:
_________________
SilverFix - a happy Linux user!
Back to top
View user's profile Send private message
TeoBì
Apprentice
Apprentice


Joined: 31 May 2004
Posts: 150

PostPosted: Mon Oct 04, 2004 5:38 pm    Post subject: Reply with quote

Grazie mille per la delucidazione.
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Mon Oct 04, 2004 5:46 pm    Post subject: Reply with quote

modificare direttamente i file passwd e shadow? (e sfidando la sorte?)

ciao
_________________
RTFM!!!!

e

http://www.comio.it
:)
Back to top
View user's profile Send private message
n3mo
l33t
l33t


Joined: 28 Mar 2004
Posts: 657
Location: In a Cruel World

PostPosted: Mon Oct 04, 2004 5:48 pm    Post subject: Reply with quote

Io non te lo consiglio ma in realtà si può fare, devi semplicemente editare a mano /etc/passwd, ripeto è altamente sconsigliato ed estremamente deprecabile, ma in Linux per fortuna è l'amministratore del sistema che dice al sistema quello che deve fare.............non come da altre parti :wink:
_________________
Google, really.
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Mon Oct 04, 2004 6:00 pm    Post subject: Reply with quote

Io sconsiglierei una cosa del genere dal momento che certi comadi potrebbero dare problemi (ad esempio quelli che accedono e modificano /etc/passwd) come ad esempio chown (anche se è possibile superare tale problema), mi spiego meglio:

Code:
$ chmod pippo.pluto nomeFile


come dovrebbe essere interpretato :?: :!: :?:

La soluzione sarebbe usare i ":" (due punti) ma come ripeto non sceglierei la soluzione di editare a mano /etc/passwd per superare delle protezioni che se ci sono un motivo ci sarà :wink:
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
n3mo
l33t
l33t


Joined: 28 Mar 2004
Posts: 657
Location: In a Cruel World

PostPosted: Mon Oct 04, 2004 6:04 pm    Post subject: Reply with quote

gutter wrote:
Io sconsiglierei una cosa del genere dal momento che certi comadi potrebbero dare problemi


Lo ribadisco è altemente sconsigliato andare ad editare a mano i file /etc/passwd /etc/group ecc. ecc.

Ma tra pericoloso e non si può fare ce ne corre parecchio :wink:
_________________
Google, really.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum