Re: [SLE] Root passwd gone(an addition)

From: Chaitanya Krishna A (icymist82_at_yahoo.com)
Date: 07/30/05

  • Next message: John Perry: "Re: [SLE] Problem burning backup PS2 iso using K3B"
    Date: Sat, 30 Jul 2005 13:19:26 -0700 (PDT)
    To: Sandy Drobic <suse-linux-e@japantest.homelinux.com>
    
    

    Hi,

    I forgot to mention something in the last mail. After giving
    # chown -R <username>: /
    cd'd to / and then gave an ls, I saw that only the permissions of /dev and /bin
    were changed to the <username>. Therefore,

    I again gave
    # chown -R root:/
    and then realised that it would change the permissions of /home, etc and then I
    again Ctrl-C'd.

    My reply to Sunny's suggestions can be seen below.

    > > I wanted to change the file ownership of a directory in root, but by
    > mistake I
    > > gave the following command
    > > # chown -R <username>: /
    > > but Ctrl-C'd after a few seconds, after realising what I have done.
    >
    > [...]
    >
    > That was thorough, I'll give you that. (^-^)
    >
    > > Now I am not able to login as root into my machine. I am very badly stuck
    > up.
    > > What can I do now?
    >
    > Have you tried to change ownership of some important files back? For example
    > in
    > /etc the files passwd, group, shadow.
    > In fact, you could just boot from rescue disc, make a backup of /etc, and
    > then
    > as a first step do "chown root /etc /sbin"
    Both /etc and /sbin are root:root set to (user:group)

    > If you can then boot into the system, have a look at /etc/permissions... It
    > is a
    > set of files that yast keeps track of to restore proper ownership if it is
    > changed. Yast -> Security and Users -> Security Settings.
    I can boot into the system, but I can't do anything using Yast coz it needs the
    root passwd.

    Regards,
    Chaitanya.

                    
    ____________________________________________________
    Start your day with Yahoo! - make it your home page
    http://www.yahoo.com/r/hs
     

    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: John Perry: "Re: [SLE] Problem burning backup PS2 iso using K3B"

    Relevant Pages

    • Re: Security Update 2006-003: What a disaster?
      ... Has anyone else had trouble with Security Update 2006-003 on their *Intel* ... Repair your hard drive. ... Boot off your Mac OS X installation CD/DVD and run Disk Utility ... permissions, but it segregates bad permission files, dumps your cache ...
      (comp.sys.mac.advocacy)
    • Thank you
      ... >everyone permissions to the root of C: ... folders as well], boot ... >to Recovery Console mode and use the CACLS command to ... use the repair console to do copy ...
      (microsoft.public.win2000.security)
    • Re: PLEASE HELP! Problem with permissions and security
      ... I've tried Safe Mode, but apparently the ... I'm thinking I'm going to have to use an emergency boot CD. ... Do you think I could then somehow change the permissions, ... understanding sharing permissions and security sure is difficult. ...
      (microsoft.public.windowsxp.general)
    • Re: clone to compressed disk image?
      ... Macs can boot from CDs and DVDs, and since those tend to be read-only you ... Oh I hope it would boot, but it's not a great backup if the permissions ... I thought I'd just clone the most recent ... At first glance SuperDuper only seemed to clone to ...
      (uk.comp.sys.mac)
    • Re: Permission set to C:
      ... everyone permissions to the root of C: [and possibly the windows folder, ... program files folder, and the documents and settings folders as well], boot ... to Recovery Console mode and use the CACLS command to change permissions on ...
      (microsoft.public.win2000.security)