Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* SU permissions
@ 1997-02-12  5:00 Andrew M Lau
  1997-02-12  5:00 ` Steve VanDevender
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Andrew M Lau @ 1997-02-12  5:00 UTC (permalink / raw)
  Cc: amlau


In Digital Unix which file must be edited so that I can su from a
regular user account....  or is it set up to allow only certain users...
if so which ones?

right now at the prompt if I type su I get the response:

You do not have permission to su root

Thanks for any help,

Andrew Lau
amlau@mit.edu



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: SU permissions
  1997-02-12  5:00 SU permissions Andrew M Lau
@ 1997-02-12  5:00 ` Steve VanDevender
  1997-02-13  5:00 ` Torsten Robert Kirschner
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Steve VanDevender @ 1997-02-12  5:00 UTC (permalink / raw)



Andrew M Lau <amlau@MIT.EDU> writes:

> In Digital Unix which file must be edited so that I can su from a
> regular user account....  or is it set up to allow only certain users...
> if so which ones?
> 
> right now at the prompt if I type su I get the response:
> 
> You do not have permission to su root
> 
> Thanks for any help,
> 
> Andrew Lau
> amlau@mit.edu

To allow a user to use 'su' in Digital UNIX, that user must be a member
of the group "system".  Edit /etc/group to add that user to the "system"
group, and on the next login that user will be able to use 'su'.

-- 
Steve VanDevender  
stevev@hexadecimal.uoregon.edu   http://jcomm.uoregon.edu/~stevev
"bash awk grep perl sed df du, du-du du-du,
vi troff su fsck rm * halt LART LART LART!" -- the Swedish BOFH



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: SU permissions
  1997-02-12  5:00 SU permissions Andrew M Lau
  1997-02-12  5:00 ` Steve VanDevender
@ 1997-02-13  5:00 ` Torsten Robert Kirschner
  1997-02-18  5:00 ` Casey Spangler
  1997-02-19  5:00 ` Jeff Shervey
  3 siblings, 0 replies; 6+ messages in thread
From: Torsten Robert Kirschner @ 1997-02-13  5:00 UTC (permalink / raw)
  To: Andrew M Lau


Andrew M Lau <amlau@MIT.EDU> writes:
> In Digital Unix which file must be edited so that I can su from a
> regular user account....  or is it set up to allow only certain users...
> if so which ones? 
> right now at the prompt if I type su I get the response:
> You do not have permission to su root

From "man su" on DU 4.0:

  If no user is specified, root is assumed.  Only users who belong to group
  number 0 (system) can issue su to become root, even with the root password.

So, add yourself to the system group in /etc/group and see if that
helps.

	good luck
		T.
-- 
Torsten Robert Kirschner                            torstenk@ifi.uio.no
torki@mpipf-muenchen.mpg.de  http://www.ifi.uio.no/~torstenk/index.html




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: SU permissions
  1997-02-12  5:00 SU permissions Andrew M Lau
  1997-02-12  5:00 ` Steve VanDevender
  1997-02-13  5:00 ` Torsten Robert Kirschner
@ 1997-02-18  5:00 ` Casey Spangler
  1997-02-18  5:00   ` Mark Taylor
  1997-02-19  5:00 ` Jeff Shervey
  3 siblings, 1 reply; 6+ messages in thread
From: Casey Spangler @ 1997-02-18  5:00 UTC (permalink / raw)



Just my 0.02, check out a freeware program named 'sudo':
http://www.courtesan.com/courtesan/products/sudo/

I've gotten so used to using sudo, that I find it a nuisance to have to su to
root to run one command, then exit. (I'm really paranoid about running as root
when it's not necessary.)

Andrew M Lau <amlau@MIT.EDU> wrote:

>In Digital Unix which file must be edited so that I can su from a
>regular user account....  or is it set up to allow only certain users...
>if so which ones?
>
>right now at the prompt if I type su I get the response:
>
>You do not have permission to su root
>
>Thanks for any help,
>
>Andrew Lau
>amlau@mit.edu


--
Casey Spangler    Probita, Inc.
spang@probita.com



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: SU permissions
  1997-02-18  5:00 ` Casey Spangler
@ 1997-02-18  5:00   ` Mark Taylor
  0 siblings, 0 replies; 6+ messages in thread
From: Mark Taylor @ 1997-02-18  5:00 UTC (permalink / raw)



On Tue, 18 Feb 1997 17:31:15 GMT Casey Spangler (eatme@you.spammers) wrote:

>>In Digital Unix which file must be edited so that I can su from a
>>regular user account....  or is it set up to allow only certain users...
>>if so which ones?
>>
>>right now at the prompt if I type su I get the response:
>>
>>You do not have permission to su root
>>
>>Thanks for any help,
>>
>>Andrew Lau
>>amlau@mit.edu

The user in question has to be a member of group 0 (system) to be able
to su to root (I find this annoying - any way to modify this behaviour?).
So add the user(s) in question to group 0 by putting their names in
the appropriate line of /etc/group.


-----------------------------------------------------------------------
| Mark Beauchamp Taylor  -  physicist trapped in a chemist's body.    | 
| mark.taylor@bris.ac.uk    http://zeus.bris.ac.uk/~chmbt/index.html  |
| Department of Chemistry, University of Bristol, UK                  -------
-----------------------------------------------------| ... It's the future! |
                                                     ------------------------



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: SU permissions
  1997-02-12  5:00 SU permissions Andrew M Lau
                   ` (2 preceding siblings ...)
  1997-02-18  5:00 ` Casey Spangler
@ 1997-02-19  5:00 ` Jeff Shervey
  3 siblings, 0 replies; 6+ messages in thread
From: Jeff Shervey @ 1997-02-19  5:00 UTC (permalink / raw)




Must be a member of the system group in order to su to root.
Jeff Shervey

Andrew M Lau <amlau@MIT.EDU> wrote in article <33024DAD.BC8@MIT.EDU>...
> In Digital Unix which file must be edited so that I can su from a
> regular user account....  or is it set up to allow only certain users...
> if so which ones?
> 
> right now at the prompt if I type su I get the response:
> 
> You do not have permission to su root
> 
> Thanks for any help,
> 
> Andrew Lau
> amlau@mit.edu
> 



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1997-02-19  5:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-02-12  5:00 SU permissions Andrew M Lau
1997-02-12  5:00 ` Steve VanDevender
1997-02-13  5:00 ` Torsten Robert Kirschner
1997-02-18  5:00 ` Casey Spangler
1997-02-18  5:00   ` Mark Taylor
1997-02-19  5:00 ` Jeff Shervey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox