[PLUG] chown issue
Dick Steffens
dick at dicksteffens.com
Sun Jan 6 22:01:04 UTC 2019
On 1/6/19 11:26 AM, Rich Shepard wrote:
> On Sun, 6 Jan 2019, Ben Koenig wrote:
>
>> old school unix philosophy is focused on multiuser mainframes. For this
>> reason, the more basic utilities such as 'adduser' do not create a group
>> for a new user.
>
> Ben,
>
> New school philosopher's can use 'useradd' with the -g option to add a
> group. See man useradd for all options. At least, on Slackware it does.
>
>> That is how most graphical user management tools do it. On Slackware
>> people
>> get opinionated about which tool you should use, so I'll just lay out
>> the
>> options for creating a new user.
>>
>> adduser:
>> command line utility that creates a user, profile, and adds groups for
>> basic functionality
>> - DOES NOT create a dedicated group for that user.
>> - defaults to next available UID
>
> On Slackware 14.2:
>
> $ man adduser
> No manual entry for adduser
> [rshepard at salmo ~]$ man useradd
>
> USERADD(8) System Management Commands
> USERADD(8)
>
> NAME
> useradd - create a new user or update default new user information
>
> SYNOPSIS
> useradd [options] LOGIN
>
> useradd -D
>
> useradd -D [options]
>
> DESCRIPTION
> When invoked without the -D option, the useradd command creates
> a new
> user account using the values specified on the command line
> plus the
> default values from the system. Depending on command line
> options, the
> useradd command will update system files and may also create
> the new
> user's home directory and copy initial files.
>
> By default, a group will also be created for the new user (see
> -g, -N,
> ...
Thanks. Useful for the future.
--
Regards,
Dick Steffens
More information about the PLUG
mailing list