Oracle User und DBA Gruppe anlegen

Die Gruppe DBA erstellt man mit dem Befehl addgroup:

tux01:~# addgroup --gid 2000 dba
Adding group dba (2000)...

Und jetzt noch den Oracle User erstellen mit adduser:

tux01:~# mkdir /oracle
tux01:~# adduser --home /oracle --shell /bin/bash \
  --no-create-home --uid 2000 --gid 2000 oracle
adduser: Warning: The home dir you specified already exists.
Adding user oracle...
Adding new user oracle (2000) with group dba.
Enter new UNIX password: 
Retype new UNIX password: 
passwd: password updated successfully
Changing the user information for oracle
Enter the new value, or press return for the default
        Full Name []: Oracle 
        Room Number []: 
        Work Phone []: 
        Home Phone []: 
        Other []: 
Is the information correct? [y/n] y

Urs Stotz 2005-09-01