Selamlar; useradd -u kullanici_numarasi -g grup_numarasi -d /export/home/benimev -s /bin/bash -c "Benim Hesap" kullanici_adi
Yukaridaki ornekle bir kullanici acabilirsiniz. useradd parametresinin daha detayli parametrelerini asgiya ekledim. sunsolve da ya da bigadmin de guzel dokumanlar bulabilirsiniz. Ancak henuz nasil bir hata aldiginizi goremedik. -A authorizations Specifies one or more authorizations. -b base Defines a base directory. If a home directory (-d) is not specified, the account name is added to base and used as the home directory. -c comment Specifies a comment that is placed in the comment (gcos) field of the /etc/passwd file. -d directory Defines the home directory of the account. -e date Specifies the expiration date for the account. After the specified date, the account is disabled. -f days Specifies the maximum number of days the account can be inactive before it is disabled. -g group Defines the GID or name of an existing group that will be the primary group for the user account. -G group Defines a GID or name of an existing group that will be a secondary group for the user account. -k template_dir Specifies the directory that contains a template (default) profile used for the user account. -m Creates the home directory if it doesn't exists. The home directory is defined by -b and account name or -d. -o Allows an existing UID to be specified. That is, it allows an account to be created with a duplicate UID (see -u). -p profiles Specifies one or more execution profiles. -R roles Specifies one or more user roles. -s shell Specifies the login shell; default is the Bourne Shell (/bin/sh). -u uid Specifies the UID of the user account. It must be a decimal integer. If not specified, the next highest available UID is assigned. iyi calismalar Afşin Taşkıran On Thu, 2005-02-17 at 04:40 -0800, kemalettin yildiz wrote: > arkadaslar asil kod asagidaki gibi solaris 8.0 da bu komut duzgun > calisiyordu > ama solaris 9.0 da calismiyor eger solarisle ilgilenen arkadaslar > varsa bu kod'u inceleyip bana yardimci olmasini istiyorum.Hepinizi > seviyorum saygilar. > (/usr/sbin/useradd -g 200 -d /data1e/kutuphane2 -m -s /bin/bash -c > "Kutuphane Account " kutuphane2) > (passwd kutuphane2) > > > > Kemalettin Yildiz > Kadir Has University > Unix System Admin > > > > ______________________________________________________________________ > Do you Yahoo!? > Yahoo! Search presents - Jib Jab's 'Second Term' --------------------------------------------------------------------- Cikmak icin, e-mail: [EMAIL PROTECTED] Liste arsivi: http://lists.enderunix.org ve http://www.mail-archive.com/[email protected] Turkiye'nin ilk FreeBSD kitabi: http://www.acikkod.com/freebsd.php

