LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-14-2006, 10:55 PM   #1
Chimera1234
LQ Newbie
 
Registered: May 2005
Posts: 18

Rep: Reputation: 0
Slack 10.1 User problems, setting it to root.


Hello, and thank you in advanced for reading this and probably answering. Really apreciated.

Ok lets get down to the grain, see if i start gnome in root i get a bunch of errors blabla. I created a user with "adduser" and i got a user cool and all. Everything works fine until i try to run something like userdel or any managing commands also in the gnome when i try to edit something like the login screen i get "not a root user".

What i want.

What i want is to get this user to get more power like root... As much power as root, but not a root. Be able to edit everything or anything, since its my computer and it's only for personal use.

Be cool.
 
Old 01-14-2006, 11:27 PM   #2
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
you shouldn't log in as root
whenever you *need* the power use su
 
Old 01-14-2006, 11:54 PM   #3
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Linux doesn't work that way.

It is specifically designed so that normal users do not have the power of root, it is one of the key elements of Linux security.
 
Old 01-15-2006, 05:43 AM   #4
Oinopion
Member
 
Registered: May 2005
Location: Kraków, PL
Distribution: Slackware
Posts: 33

Rep: Reputation: 15
Adding your user to groups like adm, root, wheel [just examples] should help a bit.
 
Old 01-15-2006, 06:21 AM   #5
AxelFendersson
Member
 
Registered: Mar 2004
Location: Darkest Oxfordshire
Distribution: Arch, Slackware
Posts: 184

Rep: Reputation: 32
The best approach is to run as a normal user with normal permissions most of the time, and then switch to being root only when you need to.

At any time in a terminal you can type 'su', enter your root password, and then any subsequent commands you type in that terminal will be run with root priveleges. Then type 'exit' to go back to being a mortal user again.

If this isn't satisfactory, you could instead look into using the sudo program to allow regular users to execute some commands as root.
 
Old 01-15-2006, 07:42 AM   #6
Chimera1234
LQ Newbie
 
Registered: May 2005
Posts: 18

Original Poster
Rep: Reputation: 0
Well i know what you all mean, but i think Oinponion hit the spot. Have you ever tried to run gnome is a recently created user? You can't doo much of configuring.

See for example in root i can play music... and in the user i cant play anything. or i think.

Last edited by Chimera1234; 01-15-2006 at 07:54 AM.
 
Old 01-15-2006, 08:26 AM   #7
Oinopion
Member
 
Registered: May 2005
Location: Kraków, PL
Distribution: Slackware
Posts: 33

Rep: Reputation: 15
Well it's permissions problem - as I've sad, try to add your user to appropriate groups. My shots: audio, video, games, cdrom, disk, lp, man. I'm not sure of them all, never checked what are them ment to be used for...

Last edited by Oinopion; 01-15-2006 at 08:28 AM.
 
Old 01-15-2006, 01:19 PM   #8
Chimera1234
LQ Newbie
 
Registered: May 2005
Posts: 18

Original Poster
Rep: Reputation: 0
You know what i did? I ided the root and added every single group he is in (me). Then when i adduser i gave all the same groups. I don't know if it is all wrong, what i need to do is pay a professional slacker :P Just to set up an account. Its not that i am noob to slack or linux... Only this is the first time i took the time to appriciate the "accounts" since they give me the screensaver and gnome doesn't screw up when in non-root user.

I am getting off topic here, but what i said up doesn't work. I'll hope someone actually went by what i am going on now. Thank you Oinopion for answering and all the ones i didn't name.

Does anyone know if modifing the linux code by adding windows code illigal?
 
Old 01-15-2006, 01:34 PM   #9
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Modifying open source code is legal as long as you follow the terms in the licence for the sources being modified.

I'd expect using windows code to be illegal since it's not in the public domain. I'm no lawyer - maybe you should ask one
 
Old 01-15-2006, 01:40 PM   #10
Oinopion
Member
 
Registered: May 2005
Location: Kraków, PL
Distribution: Slackware
Posts: 33

Rep: Reputation: 15
Quote:
Originally Posted by Chimera1234
Thank you Oinopion ...
You're welcome!

Quote:
Originally Posted by Chimera1234
Does anyone know if modifing the linux code by adding windows code illigal?
If you mean MS Windows (r) code (I don't know where have you this from) AFAIK any modification of Windows code is illegal and adding it to other code is modification, thus i would be illegal.
If it is code that you have written or you have found in Net (on one of free licenses, ie. GNU) is legal.
 
  


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
problems setting the user in crontab p.gaic Linux - Software 1 07-14-2005 11:07 PM
Problems setting user permissions kyro_02 Linux - Newbie 4 07-08-2005 11:27 AM
Problems setting up sendmail on slack 10 dthacker Slackware 1 07-05-2004 05:04 PM
Setting up FAT32 access for non-root accounts in Slack 9? Nicolae Slackware 2 10-22-2003 08:28 PM
Non-root user problems natto34 Linux - General 1 07-16-2002 01:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:13 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
Open Source Consulting | Domain Registration