| Fedora This forum is for the discussion of the Fedora Project. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-06-2007, 03:46 AM
|
#1
|
|
Member
Registered: Feb 2006
Location: India
Distribution: Slackware 12, Fedora 7, Kubuntu-7.04
Posts: 172
Rep:
|
How to add paths to sbin, bin/bash, bin sh for users
i have done a fresh install of fedora 7 in my system and i see the links to /sbin, bin/bash, bin/sh are not enabled for users by default. i want to create link paths to the above as don't want to login as root ferquently to configure or compile anything. tell me how to insert path to /sbin, bin/bash, bin/sh for users to access them with out logging to root.
|
|
|
|
12-06-2007, 04:03 AM
|
#2
|
|
Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
/bin should already be in a normal users path. To add /sbin, you can edit your ~/.bash_profile and add
Code:
export PATH=$PATH:/sbin
|
|
|
|
12-06-2007, 11:36 PM
|
#3
|
|
Member
Registered: Feb 2006
Location: India
Distribution: Slackware 12, Fedora 7, Kubuntu-7.04
Posts: 172
Original Poster
Rep:
|
i tried adding the line to /.bash_profile but could not get link to the sbin. already there is path set to /bin in the file should i need to remove it to make this work or how to add path to /sbin along with /bin. or is there any way to make links to /sbin in /bin to make it work.
|
|
|
|
12-07-2007, 12:47 AM
|
#4
|
|
Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
If there is a path already set, just add :/sbin to the end of the line. After that logout and back in again.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:54 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|