LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-15-2005, 09:38 AM   #1
Carpinus
Member
 
Registered: May 2004
Location: Canada
Distribution: Kubuntu 6.06
Posts: 73

Rep: Reputation: 15
Unlocking /root file


Using libranet 2.8.1 (kernel 2.4.25) I can't as SU get into my root file or var etc. It tells me that permission is denied. When I look at the file system in say Konqueror, it shows my root file with a lock on it. If I go into properties no permissions available.

root@GNULinux01:/# ls -l
total 68
drwxr-xr-x 2 root root 2128 Mar 30 2004 bin
drwxr-xr-x 3 root root 408 Mar 30 2004 boot
drwxr-xr-x 2 root root 48 Aug 14 2003 cdrom
drwxr-xr-x 13 root root 44448 Jan 15 08:38 dev
drwxr-xr-x 113 root root 6976 Jan 15 10:13 etc
drwxr-xr-x 2 root root 48 Aug 14 2003 floppy
drwxrwsr-x 3 root staff 72 Mar 30 2004 home
drwxr-xr-x 2 root root 48 Aug 14 2003 initrd
drwxr-xr-x 6 root root 3664 Apr 27 2004 lib
drwxr-xr-x 2 root root 48 Feb 15 2003 mnt
drwxr-xr-x 2 root root 48 Aug 14 2003 opt
dr-xr-xr-x 88 root root 0 Jan 15 03:37 proc
drwxr-x--- 21 root root 1200 Jan 13 07:28 root
drwxr-xr-x 2 root root 3648 Apr 4 2004 sbin
drwxr-xr-x 2 root root 48 Jan 20 2004 sys
drwxrwxrwt 9 root root 360 Jan 15 10:13 tmp
drwxr-xr-x 12 root root 360 Aug 13 2003 usr
drwxr-xr-x 15 root root 360 Mar 30 2004 var

root@GNULinux01:/home/peterhin# cd /
root@GNULinux01:/# /var/log/messages
bash: /var/log/messages: Permission denied

How do I unlock my root file, so that I may use it again as SU.?

Let me add that I also have the problem of once in Console I get a continuous message "SRO: CDR not ready, Make sure there is a disk in the drive." The only wat I can log into Console is to put a cd into the drive. Now I am not sure if this problem is related or not, other tna I tried to look at my "/var/log/messages" to see if there was anything that might be giving me this problem.

Last edited by Carpinus; 01-15-2005 at 09:53 AM.
 
Old 01-15-2005, 09:44 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
i don't see an error anywhere. that messages error is just because you are trying to "run" a text file, which makes no sense.
 
Old 01-15-2005, 10:27 AM   #3
Carpinus
Member
 
Registered: May 2004
Location: Canada
Distribution: Kubuntu 6.06
Posts: 73

Original Poster
Rep: Reputation: 15
Re locked file

I have found my problem. Many thanks for the info to all.
 
Old 01-16-2005, 03:58 AM   #4
happylife
LQ Newbie
 
Registered: Sep 2004
Posts: 7

Rep: Reputation: 0
Thumbs up brack root file

to brack root file system go single user mode. single user mode give u SU mode.

detail contact my mail-pritam1002000@yahoo.com
 
Old 01-16-2005, 04:12 AM   #5
brijesh
LQ Newbie
 
Registered: Jun 2003
Location: india
Distribution: redhat
Posts: 27

Rep: Reputation: 15
Question

Hai

To edit grub .. and enter to the single user .. by typing
linuxsingle there u can get all of the file
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem unlocking screensaver acb67 Linux - General 6 01-31-2012 05:44 AM
6800nu unlocking? Jason711 Linux - Hardware 0 04-18-2005 02:51 AM
unlocking a directory chemdawg Linux - Newbie 4 01-26-2005 05:06 PM
Unlocking Windows partition Waldhorn34 Linux - Hardware 7 10-05-2004 01:41 PM
unlocking (Win)password-protected file on CD svar Linux - General 5 10-13-2003 02:16 PM


All times are GMT -5. The time now is 11:39 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration