[6186] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: su and passwd

daemon@ATHENA.MIT.EDU (Miguel Avillez)
Tue Nov 26 09:44:14 1996

Date: Tue, 26 Nov 1996 14:20:45 +0000 (WET)
From: Miguel Avillez <pancho@astro1.ce.uevora.pt>
To: redhat-list@redhat.com
In-Reply-To: <9611260838.ZM10670@platypus>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

hi

you have to change the permissions of the /bin/su to suid bit...
type:

ls -al /bin/su
if you get 

-rwxr-xr-x   1 root     root        22176 Oct 15 20:50 su* 

change it with

chmod u+s /bin/su
ls -al /bin/su
and you get 

-rwsr-xr-x   1 root     root        22176 Oct 15 20:50 su*

that solves you the problem. Or at least solves the su problem

hope this helps

miguel



On Tue, 26 Nov 1996, Jason Benderly wrote:

> Hi List,
> 
> Glad to see the list is OK.
> 
> 2 questions:
> 
> 1. When I do a su from a user account to root,  I get the output "cannot set
> groups".
> What does this mean?  I do not get this on my SunOS box.  I read the man page
> on
> su and it says nothing about this.
> 
> 2. As a user account,  when I type passwd,  I get the output "permission
> denied". Passwd
> has execute permission for everybody. Wassup wit dat?
> 
> Thanks.
> 
> Jason
> 
> P.S. To all the guys pissed off at Linux and RedHat support,  just be patient
> and persistant..
> You will solve your problems,  and learn a ton doing it.  It is what Computer
> Science is all about!!!
> 
> 
> --
>   PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
>   ________________________________________________________________________
>   http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
>   http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
>   ------------------------------------------------------------------------
> To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null
> 


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post