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 |
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-13-2005, 02:16 PM
|
#1
|
Member
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213
Rep:
|
User Permision? And Logoff?
I was using the root account foool I was, I have created now a new user account, but it seems that i cant access my windows folder and my root folder, what do I need to fix that?
Do I have to change the new account type to be as root level? or I need to change my file permissions?
sth else that really annoyed me, when I logoff and I want to login using different account how can i do that without restarting.
Thanks.
|
|
|
03-13-2005, 02:29 PM
|
#2
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Quote:
Do I have to change the new account type to be as root level?
|
Definitely NOT. You may consider to copy/move stuff
from /root to /home/<newuser> and chown it ...
Quote:
or I need to change my file permissions?
|
Not quite - all that's required is a change to /etc/fstab
The question is being asked and answered all the time,
please use the search, search for "fstab user windows mount"
Cheers,
Tink
|
|
|
03-13-2005, 02:46 PM
|
#3
|
Member
Registered: Feb 2005
Distribution: Debian FC4 LFS Slackware
Posts: 174
Rep:
|
You are not a fool you just have to understand that being 'root' can have unintended consequences. The paradigm under which we operate on Linux is that we elevate our privileges in order to perform certain tasks and only login as root when absolutely necessary. Being multiuser (and thus multi-able to goof up other users or processes on our systems) from inception is what sets *nix-like* operating systems apart from certain other commercial operating systems (and I am not talking about Windows alone). As such, with privilege comes responsibility.
Okay, useless diatribe aside. Once you had Slackware installed, you only had a root account, at that point you should have immediately added another user for yourself. If this was done you should have been able to logout of root, login as your 'normal' user, then elevate your system privileges using,
$>su root
$password>(root's password)
#>(now you are king for a day)
su is a default shell command to give you root privileges but there are other tools that depending on your situation, offer more functionality. sudo and super are two of those. These all operate from the command line and will require other setup in order to give you root permissions under GNOME, KDE, etc., kdesu operates from the desktop environment.
I do not understand what you said about restarting when logging in or out. More explanation please.
nz
|
|
|
03-14-2005, 06:49 AM
|
#4
|
Member
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213
Original Poster
Rep:
|
I have opend the flie /etc/fstab and I changed ro into defaults for windows, since I cant open it through my new user account..... but still wont work
Code:
/dev/hda5 swap swap defaults 0 0
/dev/hda2 / ext3 defaults 1 1
/dev/hda6 /usr ext3 defaults 1 2
/dev/hda7 /opt ext3 defaults 1 2
/dev/hda8 /home ext3 defaults 1 2
/dev/hda1 /windows ntfs defaults 1 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
|
|
|
03-14-2005, 11:35 AM
|
#5
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
Let me take you by the hand ...
You click search and enter the
words "fstab user windows mount" in the field named
"Search for items including these words:" ... Then you
click on the "Perform Search" button... I've done the
query for you, just the follow the link in this post.
Cheers,
Tink
|
|
|
All times are GMT -5. The time now is 09:20 PM.
|
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
|
|