Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Open Source > Linux
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Linux General discussion of programming the various flavors of Linux operating systems.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Linux section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 4th, 2003, 11:15 AM
Registered User
 
Join Date: Dec 2003
Location: Karachi, Sindh, Pakistan.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Permission Denied

Hi,

I am getting "Permission Denied" message on the Linux console.

This appears whenever I start my Linux machine, this message displays continuously and stops me to do anything.

To get rid of this, what I do is to restart the Linux machine and then on lilo prompt I type "linux single", after typing this all the services started normally but as you know by typing "linux single" the control will then shift to bash prompt.

Please help me in this regard, because I am unable to run my Linux machine in normal mode.


Reply With Quote
  #2 (permalink)  
Old December 10th, 2003, 09:49 AM
Friend of Wrox
Points: 1,515, Level: 15
Points: 1,515, Level: 15 Points: 1,515, Level: 15 Points: 1,515, Level: 15
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2003
Location: Oxford, , United Kingdom.
Posts: 488
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Can you log in as root?

You'd type su to do this.

If so, you may have to faff with some permissions (have a look at man chmod).

Make sure you have permissions to /bin/bash, and your home directory.

If you can't log in as root, you'll need to reset the root password,like this :

 Press shift key at the boot prompt and enter as, boot: Linux init=/bin/sh

    This causes the system to boot the default linux kernel (with lable as 'linux') and run /bin/sh instead of its standard init. Now you have gained root privileges and a root shell. / is currently mounted read-only and many disk partitions have not been mounted yet.

    # mount -n -t remount,rw /
    # mount -avt nonfs,noproc,nosmbfs
    # cd /etc
    # vi passwd
    # vi shadow

    If the second data field in /etc/passwd is "x" for every username, your system uses shadow passwords, and you must edit /etc/shadow. To disable the root password, edit the second data field in the password file so that it becomes empty. Now the system can be rebooted and you can log on as root without a password.

HTH

Charlie Harvey,
IT Officer,
People & Planet.

http://peopleandplanet.org


--
Don't Stand on your head - you'll get footprints in your hair.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
(0x800A0046) Permission denied,not IIS permission! David Hay Classic ASP Basics 3 April 30th, 2006 10:47 PM
fopen permission denied PPGpilot Beginning PHP 1 February 24th, 2006 03:56 PM
Permission denied zah_amir Classic ASP Databases 1 January 24th, 2006 11:45 PM
Permission denied tksarun Classic ASP Components 0 March 11th, 2005 03:01 AM
Permission Denied hamidmq Javascript How-To 2 March 10th, 2005 09:41 AM



All times are GMT -4. The time now is 11:38 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.