2008/12/10 Andika Triwidada <[EMAIL PROTECTED]>:
> 2008/12/10 rasyid <[EMAIL PROTECTED]>:
>> Dear rekan-rekan milist,
>>
>> Saya membaca step instalasi ubuntu 8.04 dekstop dan disitu tertulis
>> antara lain:
>> 1.Tambahkan di /etc/passwd ---> +:::::/data:
>> 2.Tambahkan di /etc/group  ---> +:::
>> 3.Tambahkan di /etc/shadow ---> +::::::::
>>
>> Saya belum faham maksud perintah + dan : diatas sebagai apa,
>> saya coba googling tapi belum mendapatkan jawaban.Mungkin rekan2 bisa
>> bantu memberikan pemahaman saya.
>
> tanda ':' adalah pembatas field
> isi '+' ini yang aneh
>      The encrypted password field may be blank, in which case no
> password is required to
>       authenticate as the specified login name. However, some
> applications which read the
>       /etc/passwd file may decide not to permit any access at all if
> the password field is
>       blank. If the password field is a lower-case "x", then the
> encrypted password is actually
>       stored in the shadow(5) file instead; there must be a
> corresponding line in the
>       /etc/shadow file, or else the user account is invalid. If the
> password field is any other
>       string, then it will be treated as an encrypted password, as
> specified by crypt(3).
>
> Yakin mesti diisi '+'?

karena diisikan pada field pertama, berarti 'tanda' + itu dimaksudkan
sebagai username
padahal:

$ sudo adduser -- +
adduser: To avoid problems, the username should consist only of
letters, digits, underscores, periods, at signs and dashes, and not start with
a dash (as defined by IEEE Std 1003.1-2001). For compatibility with Samba
machine accounts $ is also supported at the end of the username

--
andika

-- 
FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
Unsubscribe: kirim email ke [EMAIL PROTECTED]
Arsip dan info milis selengkapnya di http://linux.or.id/milis

Kirim email ke