How can i convert "dsl" user to superuser?


Forum: Other Help Topics
Topic: How can i convert "dsl" user to superuser?
started by: ingegomez

Posted by ingegomez on June 09 2006,16:04
Hi, i need do the "dsl" user with the same privillegies as "root" (superuser)... that is because when i am the "dsl" user i cant do ping or another things, also when i install .dsl packages, only can use them as "dsl" user, and i need be "dsl" user but with root privillegies for do another things... can you help me? what i need?? whats the command? or something?
Posted by doobit on June 09 2006,17:19
open the application in a terminal as root.
example:
Code Sample
sudo su
beaver

Posted by ingegomez on June 09 2006,17:24
no, you dont understand... i dont want open applications as root... i wanna promote the user "dsl" as super user but forever... i want the "dsl" as another root privilledges user...
Posted by doobit on June 09 2006,17:51
If I now understand you correctly, I think that's pretty much anti-Linux philosphy...
Linux is set up to protect itself by not allowing anything to be operated as root without it being a conscious decision each time.

Posted by mikshaw on June 09 2006,22:32
I agree with doobit.  Making your regular user run with root power is opening your system up to vulnerabilities not only from remote sources, but from your own mistakes....one typo can destroy your system.

DSL isn't the most secure distro, but it has a happy medium, and that is the ability to run any command as root, without a password, simply by typing "sudo <command>".  If you want a particular command to run as root every time, make an alias....
alias command='sudo command'

Posted by kerry on June 10 2006,00:23
If you just must do it, you can change your /etc/sudoers .

something like this(i'm not on DSL so yours will look slightly different)

# User privilege specification
root ALL=(ALL) ALL
dsl ALL=NOPASSWD: ALL

# Members of the admin group may gain root privileges
%admin ALL=(NOPASSWD) ALL

EDIT: never mind, with this you would still have to use sudo but you won't be asked for passwords. i don't know what i was thinking, it just one of those days.  :D

Posted by ingegomez on June 10 2006,05:00
ok, now i agree with all you...

I do this:

sudo su

for get sustitute user privillegies any time when i want do any command...

Thanks for the help, now i understand the security reason of the dsl user :)

Posted by pr0f3550r on June 10 2006,10:09
Quote (ingegomez @ June 09 2006,13:24)
no, you dont understand

That's gross, I'd have said "I haven't made myself clear"

Quote
i dont want open applications as root... i wanna promote the user "dsl" as super user but forever... i want the "dsl" as another root privilledges user...


Modify /etc/passwd and change dsl user's id to 0. Put /etc/passwd in 'filetool.lst' and next time you login dsl user will magically become root. If this is what he wants and he's adult, what's wrong with that? Some people like to receive physical pain and I respect them.

Posted by ingegomez on June 10 2006,16:36
thanks "pr0f3550r", this will work too... ill try :)
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.