[comp.sys.next] Root Access

tuchngo@oxy.edu (Theodore Richard Harvey) (05/01/90)

In the process of getting our cubes up and running we have encountered
a problem.  There are three users we wish to give access to so they can
su to the root.  We set those users groups to 'wheel' which is susposed
to allow one to su to the root granted they know the root password.
However, we still get the message 'not allowed to su to the root.'  Is
there anything else we have to add or what?

Ted Harvey	 tuchngo@oxy.edu

aisl@uhura.cc.rochester.edu (Lawrence Landry) (05/04/90)

In article <92018@tiger.oxy.edu> tuchngo@oxy.edu (Theodore Richard Harvey) writes:
>In the process of getting our cubes up and running we have encountered
>a problem.  There are three users we wish to give access to so they can
>su to the root.  We set those users groups to 'wheel' which is susposed

If you added the users to the group wheel in the text files /etc/passwd or
/etc/groups then it won't work.  You need to tell NetInfo about the change.
Type "groups" to see what groups NetInfo thinks you are in. If it doesn't
show wheel, use the nidump and niload commands to add the information.
If you /etc/groups file is correct, you should be able to type
niload groups / < /etc/groups
and NetInfo will be updated.  If you haven't set up a network domain
replace the first / with a period.

-- 
Larry Landry
University of Rochester

ronniek@cs.tamu.edu (Ronnie Killough) (05/04/90)

In article <92018@tiger.oxy.edu> tuchngo@oxy.edu (Theodore Richard Harvey) writes:
>In the process of getting our cubes up and running we have encountered
>a problem.  There are three users we wish to give access to so they can
>su to the root.  We set those users groups to 'wheel' which is susposed
>to allow one to su to the root granted they know the root password.
>However, we still get the message 'not allowed to su to the root.'  Is
>there anything else we have to add or what?

I had the same problem...and I DID load the groups file into NetInfo,
and STILL had the problem.  So, if you loaded NetInfo (as another person
suggested in another article) and it still doesn't work, it may be that
you put a <space> after the commas in the list of users?  NetInfo doesn't
savvy that...your comma-separated list must be space-free.

Ronnie