Discussion:
granting users root permission
Serge Fonville
2011-10-29 15:55:43 UTC
Permalink
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
Serge Fonville
2011-10-29 16:54:06 UTC
Permalink
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
usermod -P 'Primary Administrator' -s pfksh <user>
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
Serge Fonville
2011-10-29 16:59:19 UTC
Permalink
One mistake...

echo $SHELL shows
/usr/bin/pfksh

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
Post by Serge Fonville
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
usermod -P 'Primary Administrator' -s pfksh <user>
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
Serge Fonville
2011-10-29 17:02:03 UTC
Permalink
Found it :D

There is a pfbash too

Thanks for all the help.

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
Post by Serge Fonville
One mistake...
echo $SHELL shows
/usr/bin/pfksh
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
Post by Serge Fonville
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
usermod -P 'Primary Administrator' -s pfksh <user>
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
Serge Fonville
2011-10-29 17:40:30 UTC
Permalink
Now the system tells me I'm root.

whoami shows root
touch creates as root
I read about ruid and euid, I was hoping that this would be possible

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
Post by Serge Fonville
Found it :D
There is a pfbash too
Thanks for all the help.
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
Post by Serge Fonville
One mistake...
echo $SHELL shows
/usr/bin/pfksh
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
Post by Serge Fonville
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
usermod -P 'Primary Administrator' -s pfksh <user>
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
Continue reading on narkive:
Loading...