4.1 Changing Permissions for HOME Directory
Edit /etc/auto_master & Change
/home auto_home -nobrowse TO
/auto_home auto_home -nobrowse & Save
4.2 Adding Users to HOME Directory
# cd home
# mkdir idsadm
# mkdir sapids
# mkdir sapidsdb
4.3 Creating Users & Groups
# groupadd -g 101 dbidsadm
# useradd -u 101 -g 101 -d /db2/db2ids -m -s /bin/sh db2ids
# passwd db2ids
New Password:
Re-enter new Password:
passwd: password successfully changed for db2ids
# groupadd -g 102 sapsys
# groupadd -g 103 dbidsctl
# useradd -u 102 -g 102 -d /home/idsadm -m -s /bin/sh idsadm
# usermod -G sapsys,dbidsctl idsadm
# passwd idsadm
New Password:
Re-enter new Password:
passwd: password successfully changed for idsadm
# groupadd -g 104 dbidsmnt
# useradd -u 104 -g 104 4 -d /home/sapidsdb -m -s /bin/sh sapidsdb
# passwd sapidsdb
New Password:
Re-enter new Password:
passwd: password successfully changed for sapidsdb
Edit /etc/auto_master & Change
/home auto_home -nobrowse TO
/auto_home auto_home -nobrowse & Save
4.2 Adding Users to HOME Directory
# cd home
# mkdir idsadm
# mkdir sapids
# mkdir sapidsdb
4.3 Creating Users & Groups
# groupadd -g 101 dbidsadm
# useradd -u 101 -g 101 -d /db2/db2ids -m -s /bin/sh db2ids
# passwd db2ids
New Password:
Re-enter new Password:
passwd: password successfully changed for db2ids
# groupadd -g 102 sapsys
# groupadd -g 103 dbidsctl
# useradd -u 102 -g 102 -d /home/idsadm -m -s /bin/sh idsadm
# usermod -G sapsys,dbidsctl idsadm
# passwd idsadm
New Password:
Re-enter new Password:
passwd: password successfully changed for idsadm
# groupadd -g 104 dbidsmnt
# useradd -u 104 -g 104 4 -d /home/sapidsdb -m -s /bin/sh sapidsdb
# passwd sapidsdb
New Password:
Re-enter new Password:
passwd: password successfully changed for sapidsdb
No comments:
Post a Comment