LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-27-2003, 12:25 PM   #1
walsht3108
LQ Newbie
 
Registered: Aug 2003
Posts: 13

Rep: Reputation: 0
Permission Denied


Trying to change run level from 3 to 5
Right now I am at
[root@localhost root]#
tried running /etc/innitab and got
bash: /etc/inittab: Permission denied.

I have also tried running from my user name.
I can not get the GUI to start I am trying to change the user level in hopes that I can then get in???
 
Old 08-27-2003, 01:11 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
You'll need a text editor as just running the file shouldn't do anything. Command line text editors you may have installed are:
pico
vi
vim
joe
nano
mc

And to edit the file, you'd call it with syntax like so:
pico /etc/inittab

Substitute pico with whatever text editor you choose to use

Cool
 
Old 08-27-2003, 01:15 PM   #3
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
You need to edit the /etc/inittab file and I don't know what editors you may have as you didn't mention your distro.

Perhaps you have pine installed. Try this:

pico -w /etc/inittab

If you don't have it install nano, a gnu clone of it. After installing, this command will open it for your editing pleasure.

nano -w /etc/inittab

Last edited by fancypiper; 08-27-2003 at 02:59 PM.
 
Old 08-27-2003, 02:05 PM   #4
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Or you can use

startx

to get into GUI mode then open a shell from there and as root user do

kedit /etc/inittab

and the rest of the stuff I mentioned in the last thread earlier on today.
 
Old 08-27-2003, 02:43 PM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Re: Permission Denied

I don't know about the last thread but...

Quote:
Originally posted by walsht3108
I can not get the GUI to start I am trying to change the user level in hopes that I can then get in???
Seems to mean they can't get into "startx" to run gui text editors

But if I'm mistaken, that'll by far be an easier task for you walsht3108, gui text editing is much easier for newbies until they can get a hold of the command line text editing tools.

Cool
 
  


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
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 04:50 AM
Permission Denied jamesvenning1 Linux - Newbie 4 06-05-2005 11:32 AM
Permission denied jagman026 Fedora 3 01-01-2005 03:45 PM
Permission Denied ptreves Linux - Newbie 7 12-16-2004 02:14 PM
Permission denied? jbhoo Linux From Scratch 1 04-27-2002 09:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:52 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration