[comp.sys.next] Novice questions

cc3z+@andrew.cmu.edu (Christopher N. Carlson) (03/09/90)

I have accumulated these questions after a week of playing with my new
NeXT. Can anyone help me with some answers?

1. "The NeXT User's Reference Manual" -- where is this phantom document?
Is it the same as the "User Manuals Release 0.9"? If so, is there a 1.0
release?

2. I can't su to root. In contradiction to the man page on su, I am not
prompted for a password. Instead, I get the message "You do not have
permission to su root."

3. How do I change a file's application? I ftp'd some Mathematica
notebooks to my cube; since they're just text files, their application
is set to Edit. I need to change that to Mathematica.

jchoi@ics.uci.edu (John Choi) (03/09/90)

>I have accumulated these questions after a week of playing with my new
>NeXT. Can anyone help me with some answers?
>
>1. "The NeXT User's Reference Manual" -- where is this phantom document?
>Is it the same as the "User Manuals Release 0.9"? If so, is there a 1.0
>release?
     The User's Reference Manual, once referred to on this net as the
"NeXT Useless Reference Manual," should have been inside the 1.0 upgrade
box.  I haven't been able to find an online version, but it is similar
in scope to the "User Manuals Release 0.9."  Perhaps you should check with
whoever upgraded your NeXT.

>2. I can't su to root. In contradiction to the man page on su, I am not
>prompted for a password. Instead, I get the message "You do not have
>permission to su root."
     I think you have to be part of the "wheel" group.  Change your
group affiliation to "wheel" (gid = 0) AND add your name to the "wheel"
group.  Both can be done with the NetInfoManager application.

>3. How do I change a file's application? I ftp'd some Mathematica
>notebooks to my cube; since they're just text files, their application
>is set to Edit. I need to change that to Mathematica.
     Try changing the name 'fname' to 'fname.ma'  The '.ma' suffix seems to
link that file to Mathematica.  I don't know if cell formating will be
preserved or if the notebook can be evaluated; I haven't really tried this
myself.

lacsap@mit-amt.MEDIA.MIT.EDU (Pascal Chesnais) (03/09/90)

In article <25F6C30F.5138@paris.ics.uci.edu> jchoi@ics.uci.edu (John Choi) writes:
>>2. I can't su to root. In contradiction to the man page on su, I am not
>>prompted for a password. Instead, I get the message "You do not have
>>permission to su root."
>     I think you have to be part of the "wheel" group.  Change your
>group affiliation to "wheel" (gid = 0) AND add your name to the "wheel"
>group.  Both can be done with the NetInfoManager application.
>

You do NOT need to change your group affiliation, just be part of
the wheel group...

pasc


-- 
Pascal Chesnais, Research Specialist, Electronic Publishing Group
Media Laboratory, E15-348, 20 Ames Street, Cambridge, Ma, 02139 (617) 253-0311
email: lacsap@plethora.media.mit.edu (NeXT)

rajkumar@plains.UUCP (A. Joseph Rajkumar) (03/09/90)

In article <YZxek3i00WBMA9al8a@andrew.cmu.edu> cc3z+@andrew.cmu.edu (Christopher N. Carlson) writes:
> I can't su to root. In contradiction to the man page on su, I am not
>prompted for a password. Instead, I get the message "You do not have
>permission to su root."

  I am the sys-adm on one of the next machines on campus. I have been
struggling ever-since to login into to my ordinary account and then su
to root if and when it is necessary. I would confirm that I also get
the same message and would very much like to hear how it is done.

Joseph Rajkumar

   

gessel@cs.swarthmore.edu (Daniel Mark Gessel) (03/10/90)

lacsap@media-lab.media.mit.edu (Pascal Chesnais) writes:

> You do NOT need to change your group affiliation, just be part of
> the wheel group...
> 
> pasc
> -- 
> Pascal Chesnais, Research Specialist, Electronic Publishing Group

How do you become a part of the wheel group without changing your group
affiliation?

Dan

--
Internet: gessel@cs.swarthmore.edu         
UUCP: {bpa,cbmvax}!swatsun!gessel

eps@toaster.SFSU.EDU (Eric P. Scott) (03/10/90)

In article <H82FP8W@xavier.swarthmore.edu> gessel@cs.swarthmore.edu
	(Daniel Mark Gessel) writes:
>How do you become a part of the wheel group without changing your group
>affiliation?

The NeXT follows BSD semantics; you can be in more than one group
simultaneously.  The limit is around 7, and comes from a coding
error in sunrpc services.

Each passwd entry contains a uid and gid for each user; this is
sufficient for users who only need access to a single group.
In many cases, the group facility isn't "needed" and users can
simply be assigned to the "other" group.

Each "groups" entry in netinfo has three properties:

	name: name of group
	passwd: * (for newgrp, which is not supported on NeXT)
	gid: integer value

An optional fourth property is "users" whose values are the list
of usernames who need access to that group, but it's not their
login group.

The easiest way to add someone to the wheel group is to use
NetInfoManager; select the wheel group and do "Edit Properties..."
(Command-e).  Click on users, type in a new value and use
insert or append to add it to the list.  To add someone to a
group that has no users property, append a users property,
change NewValue to the username you want, and do a rename.

					-=EPS=-