[osol-help] Lost Permission

2010-03-08 Thread Paul Johnston
Somehow I seem to have lost the permissions on my primary account pa...@workdellgx620:~$ pfexec pkg image-update pkg: Could not operate on /var/pkg/lock because of insufficient permissions. Please try the command again using pfexec or otherwise increase your privileges. pa...@workdellgx620:~$

Re: [osol-help] Lost Permission

2010-03-08 Thread W Brian Leonard
Paul, Check if you're still assigned the Primary Administrator profile by looking in /etc/user_attr. For example, here's my entry: bleon...@opensolaris:/etc/security$ cat /etc/user_attr | grep bleonard bleonardtype=normal;roles=root;profiles=Primary

Re: [osol-help] Lost Permission

2010-03-08 Thread Paul Johnston
Ooops! pa...@workdellgx620:~$ grep paulj /etc/user_attr pauljtype=normal;profiles=Postgres Administration;roles=postgres pa...@workdellgx620:~$ Cheers Paul -- This message posted from opensolaris.org ___ opensolaris-help mailing list

Re: [osol-help] Lost Permission

2010-03-08 Thread Paul Johnston
From http://www.sun.com/bigadmin/features/articles/postgresql_opensolaris.jsp Did 2. Add the role and profile to database administrators: At least one user must have been assigned the role postgres. The profile is not necessary, because the postgres role has been assigned and all operations

Re: [osol-help] Lost Permission

2010-03-08 Thread Paul Johnston
Apologies for rhetorical question. ;-) No root password and no admin rights on normal account what to do? Reboot into an older beadm, remove broken one, run pkg image-update. Thanks to everyone who is working on OpenSolaris it's brilliant ! IMHO Paul -- This message posted from opensolaris.org