LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 09-07-2003, 05:03 AM   #1
sxa
Senior Member
 
Registered: Aug 2003
Location: Austin, TX
Distribution: Mac OS 10.7 / CentOS 6(servers) / xubuntu 13.04
Posts: 1,186

Rep: Reputation: 49
Files For Both root and user


Is there a folder, or a way of adding a folder where I can store stuff so it will appear when loggin in as root, or logging in with my username?

Also when I install a program in root, it will work under my user name too right?
 
Old 09-07-2003, 05:47 AM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Re: Files For Both root and user

Quote:
Originally posted by Freakygeek55
Is there a folder, or a way of adding a folder where I can store stuff so it will appear when loggin in as root, or logging in with my username?
Sure, you can give permissions on a system wide directory for everyone to read and write to, OR you could just use one that already exists such as /tmp

An example:
mkdir /home/shared
chown root.users /home/shared
chmod 770 /home/shared

Quote:
Also when I install a program in root, it will work under my user name too right?
Depends.
If the file is meant to only be accessed by root (a super user tool) then no, it shouldn't be. However, if it's supposed to be used by everyone (for example gkrellm) then yes, it should be able to be accessed and executed by any user on the system.

Cool
 
Old 09-07-2003, 06:16 AM   #3
sxa
Senior Member
 
Registered: Aug 2003
Location: Austin, TX
Distribution: Mac OS 10.7 / CentOS 6(servers) / xubuntu 13.04
Posts: 1,186

Original Poster
Rep: Reputation: 49
Thank you very much for information, I have been going back and forth all night from my user and root, installing this and that and doing this and that.. Mostly just messing around learning linux.. and not its nearing 5:20am here in my part of Texas.. HAHA! I will be on here till nearly Seven in the morning if I don't watch it..
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Manually importing NFS files as USER (not Root) 1kyle Suse/Novell 1 10-11-2005 01:29 PM
Can only watch WMV files as root user? insanity101 Mandriva 1 05-04-2005 05:35 AM
IntelliMouse thumb buttons work as root, broken as non-root user, wheel works always digital vortex Linux - Hardware 7 03-02-2004 05:14 PM
root files: create as root:root or root:wheel? pcass Linux - Security 1 02-07-2004 05:14 PM
can here .wav files only as root user rdalley Linux - Newbie 1 04-05-2002 01:15 PM


All times are GMT -5. The time now is 12:54 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration