[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] root access problem (SOLVED)
- Subject: Re: [cobalt-developers] root access problem (SOLVED)
- From: "Edgar F. Flores Muñoz" <ed@xxxxxxxx>
- Date: Mon Jun 25 05:07:01 2001
- List-id: Discussion Forum for developers on Cobalt Networks products <cobalt-developers.list.cobalt.com>
Thank you, I can resolve my probleme with this files, with no RPM file
upgrade_me
#!/bin/bash
# Things this script must do:
# 1) Check to make sure none of its RPMS are installed
# 2) Install its RPMS
# 3) Generate the .installed_rpms file
# 4) return status 0 on success
/bin/chmod 4755 /bin/su
exit 0
packing_list
Package: RaQ2-en-Update-OS
Version: 3.0
List File: RaQ2-en-Update-OS
REBOOT: yes
SCRIPT: upgrade_me
UNINSTALL: uninstall_me
----- Original Message -----
From: "The Thieving Gypsy" <lists@xxxxxxxxxxxxxxxxxxx>
To: <cobalt-developers@xxxxxxxxxxxxxxx>
Sent: Sunday, June 24, 2001 9:45 AM
Subject: Re: [cobalt-developers] root access problem
> > Recently when trying to change me to root this error does appear, does
> > somebody know to what it is or as I can correct it?
> >
> > [admin admin]$ su -
> > Password:
> > su: warning: cannot change directory to /root: Permission denied
> > su: cannot set groups: Operation not permitted
> >
> > Ahead of time I thank you the help.
> > Ed
>
>
> Telnet into your machine as admin, and enter "ls -l /bin/su". You
*should*
> get back this, if everything is okay:
>
> -rwsr-xr-x 1 root root 14612 May 30 2000 /bin/su
>
> If the "owner" bits aren't "rws", then the SetUID has been removed from
it,
> and it won't be able to let you su ever again unless its changed. The
> easiest way of changing it (especially if you don't have physical access
to
> the machine) is to knock up a quick .pkg and install it from the GUI.
> Download the Cobalt instructions from
> ftp.cobalt.com/pub/developer/TechNotes/DTN2-0-8.pdf (if you're on a RaQ3
or
> 4) It doesn't have to be pretty - you just need the absolute basics - a
> packing_list file, a null-RPM so that the installation will get accepted
by
> the GUI, and the installation script called "upgrade_me". The only stuff
> that you need to put into the upgrade_me script is the command to reset
the
> SetUID bit on the su program. Through it into the GUI, and you should be
> sorted. It will tell you that it's failed, but it should have done the
> trick.
>
> Then you just need to worry about why it happened in the first place.
>
> Cheers,
> Dave Rowlands
>
> Verio UK
>
> _______________________________________________
> cobalt-developers mailing list
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers
>