Monday, July 23, 2012
Fixing /usr/bin/fscked Oracle Slowlaris 11
You probably know already that for Oracle "Primary Administrator" is "too powerful", so they decided to remove it at all. If you use "System Administrator", you will not have the same privileges. And yeah, entering password all the time you're working on some box is just... lame.
Here is just put that stuff back as before:
echo 'Primary Administrator:suser:cmd:::*:uid=0;gid=0' >> /etc/security/exec_attr
echo 'Primary Administrator:::All administrative tasks:auths=solaris.*;solaris.grant;help=RtPriAdmin.html' >> /etc/security/prof_attr
Also kill that $%^# ancient sendmail so it will stop vomiting on your primary console usual garbage.
Also enable verbose booting by modifying /rpool/boot/grub/menu.lst kernel line something like (x86 systems):
kernel$ /platform/i86pc/kernel/amd64/unix -B $ZFS-BOOTFS -v -m verbose
Also setup your repositories from two full ISO files:
$ cat sol-11-1111-repo-full.iso-a sol-11-1111-repo-full.iso-b > sol-11-1111-repo-full.iso
$ pfexec zfs create rpool/export/fullrepo
$ pfexec lofiadm -a sol-11-1111-repo-full.iso
$ mkdir /tmp/fullrepo
$ pfexec mount -F hsfs /dev/lofi/1 /tmp/fullrepo
$ pfexec rsync -aP --progress /tmp/fullrepo/ /export/fullrepo/
$ pfexec umount /tmp/fullrepo
$ pfexec lofiadm -d /dev/lofi/1
$ pfexec pkg set-publisher -G '*' -M '*' -g file:///export/fullrepo/repo solaris
$ pfexec pkg refresh --full
Also, if you do need X11 and all that Gnome-2 stuff, install slim install:
$ pfexec pkg install slim_install
From now on you can start using Oracle Solaris properly (hating everyone there for B&W text Emacs, bad VIM and other minor things). Once you have it enough, go get something better: Illumos-based OpenIndiana :-)
Subscribe to:
Posts (Atom)