Notices

Overclockers Forums > Software > Alternative Operating Systems
Alternative Operating Systems Linux, Mac, Unix Operating Systems and Applications
Forum Jump

Access Denied

Post Reply New Thread Subscribe Search this Thread
 
 
Thread Tools
Old 09-06-03, 02:22 PM Thread Starter   #1
OLMI
Member

 
OLMI's Avatar 

Join Date: Jul 2002
Location: San Diego, CA

 
Access Denied


why do i keep getting this all over the place? i hate having to login as root every time i get this. i use the super user command every now and then for simple things, but when im trying to delete many files or something, it's really hard.

is there a way for me to make my account have these rights? or is there something easy i havent discovered to take care of this problem? hehe
OLMI is offline   QUOTE Thanks
Old 09-06-03, 02:40 PM   #2
bubba gump
Member



Join Date: Sep 2002
Location: CA, USA

 
Well, its best to just login as a normal user at all times, and when necesary use the su cmd....but at login you can just put ur username as root and then type in the root password when it prompts you for it....that way you would be logged in permanently (for that session) as root.

I think I read your post right

Fold and Frag on
Brian
bubba gump is offline   QUOTE Thanks
Old 09-06-03, 02:40 PM   #3
Cúchulainn
Member

 
Cúchulainn's Avatar 

Join Date: Sep 2002
Location: CO

 
Just a suggestion but you really should continue to su to modify certain things. In what way is su'ing, modifying the files, and exiting hard? There's a reason all *nix OSes ask you to create a regular user account to use on a daily basis. One day you'll be glad when you rm -rf or chmod in the wrong directory

Are you not able to su? Do you have to exit your user account and re-login? If that's the case you're probably not added to the proper group, usually wheel. Just edit /etc/group and add your user name to the end of the wheel line.

Other alternatives would be to use sudo and set up permissions for the commands you need.

__________________
Heatware
Cúchulainn is offline   QUOTE Thanks
Old 09-06-03, 03:37 PM Thread Starter   #4
OLMI
Member

 
OLMI's Avatar 

Join Date: Jul 2002
Location: San Diego, CA

 
here's an example. i want to do something in usr/local.. or something like that. when im not logged in as root, i wont have access... what should i do? do i really have to go to console just to move some files around?
OLMI is offline   QUOTE Thanks
Old 09-06-03, 05:09 PM   #5
LiGhTBoY
Member



Join Date: Feb 2002
Location: Lost in time

10 Year Badge
 
what console? type su at the terminal, give your password and you are root.

__________________
"The most difficult thing in the world is to know how to do a thing and to watch someone else do it wrong without comment."
- Theodore H. White
LiGhTBoY is offline   QUOTE Thanks
Old 09-06-03, 07:22 PM Thread Starter   #6
OLMI
Member

 
OLMI's Avatar 

Join Date: Jul 2002
Location: San Diego, CA

 
am i root in everything? like even when i open up that home thing to browse hard drives?
OLMI is offline   QUOTE Thanks
Old 09-06-03, 07:22 PM   #7
Richard
Senior Member

 
Richard's Avatar 

Join Date: Jan 2001

10 Year Badge
 
I think I see the issue here. You're using the gui for doing things that are most efficiently done at a terminal/console shell.

I know that may sound a bit "elitist" but it's the god's honest truth.

__________________
Cookie!

Treat others as you want to be treated.
Richard is offline   QUOTE Thanks
Old 09-06-03, 08:23 PM Thread Starter   #8
OLMI
Member

 
OLMI's Avatar 

Join Date: Jul 2002
Location: San Diego, CA

 
awwwww it takes so long do you guys do it all in a second now that you're used to it?
OLMI is offline   QUOTE Thanks
Old 09-07-03, 12:02 AM   #9
Richard
Senior Member

 
Richard's Avatar 

Join Date: Jan 2001

10 Year Badge
 
As you go along you're bound to pick up little tricks for speeding up what you want to do.

aliases are a great way of customizing your bash shell.

Let's say you have a really long path and you'd like to cd to it without having to type all that stuff.

alias gamedir="cd /usr/local/games/"

Then whenever you just type "gamedir" you'll be whisked away to your /usr/local/games/ dir.

An alias can be as simple or complex as you want.

alias mountcd="mount /mnt/cdrom && cd /mnt/cdrom && ls -lah"
alias umountcd="cd $HOME && umount /mnt/cdrom && eject /dev/cdrom"

Another option is to create environment variables.

gamedir=/usr/local/games/

Then just type
cd $gamedir

That accomplishes basically the same thing. The nice thing about environment variables is you can use them in your scripts for doing even fancier things.

__________________
Cookie!

Treat others as you want to be treated.
Richard is offline   QUOTE Thanks
Old 09-07-03, 03:44 AM Thread Starter   #10
OLMI
Member

 
OLMI's Avatar 

Join Date: Jul 2002
Location: San Diego, CA

 
awesome. that helps a lot.. i'll get started on this stuff now. great great great! once again.. i'd be TOTALLY screwed without this forum
OLMI is offline   QUOTE Thanks

Post Reply New Thread Subscribe


Overclockers Forums > Software > Alternative Operating Systems
Alternative Operating Systems Linux, Mac, Unix Operating Systems and Applications
Forum Jump

Thread Tools Search this Thread
Search this Thread:

Advanced Search


Mobile Skin
All times are GMT -5. The time now is 02:55 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
You can add these icons by updating your profile information to include your Heatware ID, Benching Profile ID or your Folding/SETI profile ID. Edit your profile!
X

Welcome to Overclockers.com

Create your username to jump into the discussion!

New members like you have made this the best community on the Internet since 1998!


(4 digit year)

Why Join Us?

  • Share experience
  • Max out your hardware
  • Best forum members anywhere
  • Customized forum experience

Already a member?