Re: Create new users in a special way
tach auch! :)
> Now I want to create /home/directories in the way the programm "adduser"
> create /home/directories /copying files from /etc/skel and copy them in
> user's home directory, and so on.
for user in `cut -f1 -d: </etc/passwd`; do
su - $user -c 'cp -r /etc/skel ~'
might be a point to start (don't even think about just executing it).
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
Nothing is fool-proof to a sufficiently talented fool.