Hi Ignacio, Thanks for your answer.
That works great. Unfortunately, while trying this out. I noticed that when I type whi and press tab, instead of being completed to which it completes to /usr/gnu/bin/which. When I do who. it shows multiple paths. echo $SHELL does show /usr/bin/bash. Is it possible to restore the normal behaviour? How is the profileshell different from a normal shell? Also, what more differences are there? Kind regards/met vriendelijke groet, Serge Fonville http://www.sergefonville.nl Convince Google!! They need to add GAL support on Android (star to agree) http://code.google.com/p/android/issues/detail?id=4602 2011/10/29 Ignacio Marambio Catán <darkjo...@gmail.com>: > > usermod -P 'Primary Administrator' -s pfksh <user> > > On 29/10/2011, at 12:55, Serge Fonville <serge.fonvi...@gmail.com> wrote: > >> Hi, >> >> From what I read on RBAC etc., it seems to me it would be possible to >> create a root-like user. >> That can for example do usermod, roleadd etc. >> >> How would I do that? >> >> Since copying the root line from user_attr to the new user and adding >> defaultpriv=all does not do it. >> >> I need to make it Primary Administrator and use pfexec. >> >> Is it possible to create a user with the same permissions as root? >> >> Thanks in advance. >> >> Kind regards/met vriendelijke groet, >> Serge Fonville >> http://www.sergefonville.nl >> >> Convince Google!! >> They need to add GAL support on Android (star to agree) >> http://code.google.com/p/android/issues/detail?id=4602 >> _______________________________________________ >> opensolaris-discuss mailing list >> opensolaris-discuss@opensolaris.org > _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org