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 02-04-2005, 06:36 AM   #1
kool_kid
Member
 
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350

Rep: Reputation: 30
Changing user preference


hiya ppl
im using slackware 10.0 on kde i want to change my user preference to "root" i.e i shd be able to view everything i want n yes i have the superuser id n p/w its how do i do it? plz help
 
Old 02-04-2005, 06:41 AM   #2
DaWallace
Member
 
Registered: Feb 2004
Location: Southern Maine, United States
Distribution: Slackware Ubuntu Debian FreeBSD
Posts: 418

Rep: Reputation: 31
heh?.... I don't get it.. what are you doing?
 
Old 02-04-2005, 06:44 AM   #3
kool_kid
Member
 
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350

Original Poster
Rep: Reputation: 30
i created a user now that user isnt having permission to view some parts of directories like lilo.conf file n many others i want to make the user i created equal to superuser..i know i can change the permission of file but i dont want to do that and change the user i created preference to that of superuser so that i couldnt be prompt for p/w hope u got it this time
 
Old 02-04-2005, 06:58 AM   #4
DaWallace
Member
 
Registered: Feb 2004
Location: Southern Maine, United States
Distribution: Slackware Ubuntu Debian FreeBSD
Posts: 418

Rep: Reputation: 31
ah... you can use sudo for that...
it isn't the greatest idea but I'm not gonna bitch because I do it as well..
I think adding the user to the adm group will have an effect but I've never done it.. I have a friend who does that though..

but you'll have to edit /etc/sudoers, you're supposed to do this with visudo but I've never had problems editing it with pico or vi
read man sudo for help.. also, taking a look at your /etc/sudoers might make it obvious what you have to do
 
Old 02-04-2005, 07:01 AM   #5
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
There is a reason why only root can do administrative jobs, because root is the administrator...

It is well designed as this, want to edit a system file ? switch to root

Any other solution would lead to a security flaw, believe me. Anyway you don't need to edit system
config file often, so is it so tiring to input a password to access root privileges ?
 
Old 02-04-2005, 07:10 AM   #6
d00msweek
Member
 
Registered: Jan 2004
Location: Cebu City, Philippines
Distribution: Slackware 10,Gentoo 2005.1,LFS
Posts: 92

Rep: Reputation: 15
and, Why whould you want that user to have the same rights as root when you have root ?
 
Old 02-04-2005, 07:16 AM   #7
DaWallace
Member
 
Registered: Feb 2004
Location: Southern Maine, United States
Distribution: Slackware Ubuntu Debian FreeBSD
Posts: 418

Rep: Reputation: 31
those.. though being good points.. are ones I choose to disregard.. simply for the sake of convenience.. I do this on my personal box and NOT my server.. also.. I wouldn't recommend asking questions like this in a public forum. you get much negative feedback.. and really .. it is deserved.. but.. it's still up to you..

there's always "su -"
it has never failed me..

Last edited by DaWallace; 02-04-2005 at 07:19 AM.
 
Old 02-04-2005, 07:56 AM   #8
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
su - is secure, sudo can be secure too if you don't mess it like give access to dangerous
commands to all users (for example, passwd command)

I use sudo without password to poweroff or reboot my workstation for my part
(in this way, no need to setuid poweroff and reboot commands)
 
Old 02-04-2005, 09:14 AM   #9
kool_kid
Member
 
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350

Original Poster
Rep: Reputation: 30
thnx ppl for ya help i got what i wanted and also i thgt of not posting this thred but where can i find my answer from??
Regards
kool_kid
 
Old 02-04-2005, 09:19 AM   #10
DaWallace
Member
 
Registered: Feb 2004
Location: Southern Maine, United States
Distribution: Slackware Ubuntu Debian FreeBSD
Posts: 418

Rep: Reputation: 31
my second post did have some answers..
 
  


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
Changing a User carlosinfl Linux - General 11 11-29-2005 02:25 PM
Changing user permissions XAVeRY Linux - Newbie 2 02-09-2005 09:38 PM
User id (needs changing) podollb Linux - Software 2 05-15-2004 09:26 AM
Changing user scripts? Nerd2 Programming 12 05-22-2003 09:44 AM
Changing Mysql user? Ricardo77uk Programming 13 06-30-2001 05:48 PM

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

All times are GMT -5. The time now is 06:22 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