Skip to main content

Thread: A simple add usr script


so, doing little exercise basic linux scripting , wondering if there simple way make script adds new user passwd file in ubuntu 11.10? complete his/hers own password, home dir , other feats new user gets gui add system.

in advance

hi , welcome forums!

can use adduser command (see: man adduser).


other commands managing users , groups are:

useradd - low level utility adding users
groupadd - create group
usermod - modify user account
groupmod - modify group definition on system
adduser, addgroup - on debian , ubuntu front ends low level tools useradd, groupadd , usermod
userdel - delete user account , related files
groupdel - delete group
deluser, delgroup - on debian , ubuntu front ends low level tools userdel , groupdel
gpasswd - administer /etc/group , /etc/gshadow
passwd - change user password
chfn - change real user name , information
chsh - change login shell
vipw, vigr - edit password, group, shadow-password or shadow-group file

files store local user informations are:

/etc/passwd - password file (see: man 5 passwd)
/etc/shadow - shadowed password file (see: man 5 shadow)
/etc/group - group file (see: man 5 group)
/etc/gshadow - shadowed group file (see: man 5 gshadow)


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] A simple add usr script


Ubuntu

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account