LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 03-13-2005, 02:16 PM   #1
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Rep: Reputation: 30
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.
 
Old 03-13-2005, 02:29 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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
 
Old 03-13-2005, 02:46 PM   #3
nonzero
Member
 
Registered: Feb 2005
Distribution: Debian FC4 LFS Slackware
Posts: 174

Rep: Reputation: 31
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
 
Old 03-14-2005, 06:49 AM   #4
amer_58
Member
 
Registered: Mar 2004
Distribution: Slackware 10.2
Posts: 213

Original Poster
Rep: Reputation: 30
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
 
Old 03-14-2005, 11:35 AM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
mandy cant open x (kde) for user/ after logoff Veivann Linux - Newbie 2 11-15-2004 12:53 PM
user with root permision imsajjadali Red Hat 2 01-20-2004 07:00 AM
problen trying to change my stable to unestable, root user not have permision mie2 Linux - Newbie 0 11-21-2003 04:10 PM
User permision problems e1000 Slackware 6 11-06-2003 12:41 AM
default user permision sourian Linux - General 5 08-29-2002 11:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:52 AM.

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
Open Source Consulting | Domain Registration