Re: [newbie] Can't su to root

2002-04-26 Thread Robin Turner

On Friday 26 April 2002 16:36, skinky wrote:
 Today I made a reeeal bad mistake... I accidentally changed permissions on
 the /bin directory instead of a bin subdirectory and now I am unable to su
 to root.  I get incorrect password.  Well at least I think thats what the
 problem is.

 AND I've only just completed a clean reinstall of LM8.1 which has taken
 days to get everything configured (eg. apache, twiki, samba, etc)!  I
 really don't want to reinstall...  Spent hours searching the net for clues,
 thinking it was something to do with basic authentication in apache with
 .htaccess files then remembered my error.  I think it was a chmod a+x
 /bin/*.

 So can someone pleeease tell me the permissions on /bin/su ?  Hopefully
 that will solve my problem.

-rwsr-xr-x1 root root13952 Feb  7  2001 /bin/su

Sir Robin



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Fwd: Re: [newbie] Can't su to root

2002-04-26 Thread Gerald Waugh


On Fri, 26 Apr 2002, Robin Turner wrote:
 %_On Friday 26 April 2002 16:36, skinky wrote:
  Today I made a reeeal bad mistake... I accidentally changed permissions on
  the /bin directory instead of a bin subdirectory and now I am unable to su
  to root.  I get incorrect password.  Well at least I think thats what the
  problem is.
 
  AND I've only just completed a clean reinstall of LM8.1 which has taken
  days to get everything configured (eg. apache, twiki, samba, etc)!  I
  really don't want to reinstall...  Spent hours searching the net for clues,
  thinking it was something to do with basic authentication in apache with
  .htaccess files then remembered my error.  I think it was a chmod a+x
  /bin/*.
 
  So can someone pleeease tell me the permissions on /bin/su ?  Hopefully
  that will solve my problem.
 
 -rwsr-xr-x1 root root13952 Feb  7  2001 /bin/su
 
 Sir Robin

Probably have to be root to change permissions!
Thats why I suggested single user mode...

--

Gerald Waugh
http://www.frontstreetnetworks.com
Front Street Networks LLC - 203-785-0699
229 Front Street, Ste. #C, New Haven CT, 06513-3203
--

Gerald Waugh
http://www.frontstreetnetworks.com
Front Street Networks LLC - 203-785-0699
229 Front Street, Ste. #C, New Haven CT, 06513-3203



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: Fwd: Re: [newbie] Can't su to root

2002-04-26 Thread Robin Turner

On Friday 26 April 2002 17:47, Gerald Waugh wrote:
 On Fri, 26 Apr 2002, Robin Turner wrote:
  %_On Friday 26 April 2002 16:36, skinky wrote:
   Today I made a reeeal bad mistake... I accidentally changed permissions
   on the /bin directory instead of a bin subdirectory and now I am unable
   to su to root.  I get incorrect password.  Well at least I think
   thats what the problem is.
  
   AND I've only just completed a clean reinstall of LM8.1 which has taken
   days to get everything configured (eg. apache, twiki, samba, etc)!  I
   really don't want to reinstall...  Spent hours searching the net for
   clues, thinking it was something to do with basic authentication in
   apache with .htaccess files then remembered my error.  I think it was a
   chmod a+x /bin/*.
  
   So can someone pleeease tell me the permissions on /bin/su ?  Hopefully
   that will solve my problem.
 
  -rwsr-xr-x1 root root13952 Feb  7  2001 /bin/su
 
  Sir Robin

 Probably have to be root to change permissions!
 Thats why I suggested single user mode...

Well obviously you have to log in as root first.  Single user mode shouldn't 
be necessary, though.

Sir Robin



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: Fwd: Re: [newbie] Can't su to root

2002-04-26 Thread Gerald Waugh

On Fri, 26 Apr 2002, Robin Turner wrote:
 %_On Friday 26 April 2002 17:47, Gerald Waugh wrote:
  On Fri, 26 Apr 2002, Robin Turner wrote:
   %_On Friday 26 April 2002 16:36, skinky wrote:
Today I made a reeeal bad mistake... I accidentally changed permissions
on the /bin directory instead of a bin subdirectory and now I am unable
to su to root.  I get incorrect password.  Well at least I think
thats what the problem is.
   
AND I've only just completed a clean reinstall of LM8.1 which has taken
days to get everything configured (eg. apache, twiki, samba, etc)!  I
really don't want to reinstall...  Spent hours searching the net for
clues, thinking it was something to do with basic authentication in
apache with .htaccess files then remembered my error.  I think it was a
chmod a+x /bin/*.
   
So can someone pleeease tell me the permissions on /bin/su ?  Hopefully
that will solve my problem.
  
   -rwsr-xr-x1 root root13952 Feb  7  2001 /bin/su
  
   Sir Robin
 
  Probably have to be root to change permissions!
  Thats why I suggested single user mode...
 
 Well obviously you have to log in as root first.  Single user mode shouldn't 
 be necessary, though.
 

Perhaps you should read the first part of the message,,,
particularly the part about unable to su to root!!!

--
Gerald Waugh
http://www.frontstreetnetworks.com
Front Street Networks LLC - 203-785-0699
229 Front Street, Ste. #C, New Haven CT, 06513-3203



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: Fwd: Re: [newbie] Can't su to root

2002-04-26 Thread Lyvim Xaphir

When you get to root, from lilo for instance (boot: linux single --I
think), run msec at whatever security level you have previously
selected, or pick a security level and msec will (as I understand) set
your perms properly.

Msec is in /usr/sbin.

BTW, welcome to the Perm Mangling Society. (PMS)

LX


On Fri, 2002-04-26 at 10:47, Gerald Waugh wrote:
 
 On Fri, 26 Apr 2002, Robin Turner wrote:
  %_On Friday 26 April 2002 16:36, skinky wrote:
   Today I made a reeeal bad mistake... I accidentally changed permissions on
   the /bin directory instead of a bin subdirectory and now I am unable to su
   to root.  I get incorrect password.  Well at least I think thats what the
   problem is.
  
   AND I've only just completed a clean reinstall of LM8.1 which has taken
   days to get everything configured (eg. apache, twiki, samba, etc)!  I
   really don't want to reinstall...  Spent hours searching the net for clues,
   thinking it was something to do with basic authentication in apache with
   .htaccess files then remembered my error.  I think it was a chmod a+x
   /bin/*.
  
   So can someone pleeease tell me the permissions on /bin/su ?  Hopefully
   that will solve my problem.
  
  -rwsr-xr-x1 root root13952 Feb  7  2001 /bin/su
  
  Sir Robin
 
 Probably have to be root to change permissions!
 Thats why I suggested single user mode...
 

-- 
°°°
Kernel  2.4.8-26mdk Mandrake Linux  8.1
Enlightenment 0.16.5Evolution  1.02
Registered Linux User #268899 http://counter.li.org/
°°°




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: Fwd: Re: [newbie] Can't su to root

2002-04-26 Thread Charles A Edwards

On Fri, 26 Apr 2002 14:55:41 -0400
Gerald Waugh [EMAIL PROTECTED] wrote:

 
  
  Well obviously you have to log in as root first.  Single user mode shouldn't 
  be necessary, though.
  
 
 Perhaps you should read the first part of the message,,,
 particularly the part about unable to su to root!!!
 
 

He did not suggest to become root; ala su.
He said login As root.

If that can not be accomplished then I am afraid that Stinky will be right at home 
because he will be up shit creek without a paddle.
Yes, I know, bad pun, but I could not resist. 


Charles 



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: Fwd: Re: [newbie] Can't su to root

2002-04-26 Thread Gerald Waugh

On Fri, 26 Apr 2002, Charles A Edwards wrote:
 %_On Fri, 26 Apr 2002 14:55:41 -0400
 Gerald Waugh [EMAIL PROTECTED] wrote:
 
  
   
   Well obviously you have to log in as root first.  Single user mode shouldn't 
   be necessary, though.
   
  
  Perhaps you should read the first part of the message,,,
  particularly the part about unable to su to root!!!
  
 
 He did not suggest to become root; ala su.
 He said login As root.

Oh, now I see, said the blind man

 If that can not be accomplished then I am afraid that Stinky will be right at home 
because he will be up shit creek without a paddle.
 Yes, I know, bad pun, but I could not resist. 
 
 
--
Gerald Waugh
http://www.frontstreetnetworks.com
Front Street Networks LLC - 203-785-0699
229 Front Street, Ste. #C, New Haven CT, 06513-3203



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Can't su to root

2002-04-26 Thread skinky

On 27 Apr 2002 00:44, Nathan Pryor wrote:

 # ls -l su
 -rwsr-xr-x1 root root17912 Mar  7 09:54 su*

 HTH,
 -nathan

Many thanks to all those who replied.  That did the trick.

Jeez I didn't know about the s flag (Set user or group ID) in permissions.  
It was a simple matter of a quick look at Linux in a Nutshell and

#  chmod 4755 /bin/su

and all is well again  : ) .  After searching thru so many different mailing 
list archives and various articles on the net the good ol' faithful Mandrake 
Newbie list comes up trumps again! Thanks.

Cheers
skinky
-- 
oxymoron:  Microsoft Works



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com