LinuxQuestions.org
Visit Jeremy's Blog.
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 02-18-2008, 12:16 AM   #1
East
Member
 
Registered: Jan 2008
Posts: 84

Rep: Reputation: 15
Smile root access missing in dsl.....help


hi all
I have booted my system with DSL. I have changed the GUI. (ie) instead of loading the default the GUI, i am running an exe. I changed the file called .xinitrc with the exe name. The exe is executed successfully when the system default runlevel is 5. If any errors occurs in the exe, then showing some error respect to the exe and getting into the non user prompt named with dsl ( i havnt created the user, may be this is default). Now i want to provide the root Privileges to the dsl user.
can anyone help me how to provide the root privileges to a non user?
 
Old 02-18-2008, 12:37 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
i am running an exe
wha-a-at? Not a .exe file, obviously, but please for the love of the gods do tell us which executable you run!

Quote:
I changed the file called .xinitrc with the exe name.
Well change it back! This is not how you do things!

Anyway, all it does is start the x session. But really, there are standard approaches for changing the desktop in DSL.

Quote:
getting into the non user prompt named with dsl
The default user is called "dsl" yes. So your install is configured to boot to a set user instead of a login screen.

Quote:
Now i want to provide the root Privileges to the dsl user.
You don't. You make a separate administration user, or you give one normal user sudo access. You do not make the default user root!

Probably the default user has sudo access anyway... have you tried?
If he dosn't, add him to the wheel group and edit the sudoers file.

<pant>
I need to go lie down.
 
Old 02-18-2008, 01:20 AM   #3
East
Member
 
Registered: Jan 2008
Posts: 84

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Simon Bridge View Post
wha-a-at? Not a .exe file, obviously, but please for the love of the gods do tell us which executable you run!
I am running a gtk based usbview application.

Quote:
Originally Posted by Simon Bridge View Post
The default user is called "dsl" yes. So your install is configured to boot to a set user instead of a login screen.
If the default user is dsl, then cant i run any application from here?
Because when i was trying to run an application saying as permission denied. when i type "su" , it's asking for password.i dont know what to give
Quote:
Originally Posted by Simon Bridge View Post
You don't. You make a separate administration user, or you give one normal user sudo access. You do not make the default user root!
can u please elaborate how to create a admin user?
 
Old 02-18-2008, 06:29 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
instead of loading the default the GUI, i am running ... a gtk based usbview application.
http://www.kroah.com/linux/usb/
... I don't understand how you can use usbview instead of the "default GUI"?

Quote:
If the default user is dsl, then cant i run any application from here?
No... of course not. Otherwise the default user would be root and that is A Bad Thing.

As the DSL user, do you have a graphical desktop at all?
(I don't understand your setup, but it sounds broken.)

Can you run regular commands like:
echo "hello world"
... from a terminal?
 
Old 02-24-2008, 11:54 PM   #5
East
Member
 
Registered: Jan 2008
Posts: 84

Original Poster
Rep: Reputation: 15
Hi all

I am using DSL 4.2.5 version. I want to upgrade the kernel version. but i cant compile the kernel in DSL.How can i get the kernel version 2.6.x in DSL. Is there anything new release of DSL.Can anyone help me to find out the way?

Thanks in advance.
 
Old 02-25-2008, 07:36 AM   #6
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Have you checked the FAQ?
Have you checked the wiki?

Have you read this - with reference to the previous posts? Or this.

So... how did your last problem work out for you?
 
Old 02-25-2008, 09:14 AM   #7
East
Member
 
Registered: Jan 2008
Posts: 84

Original Poster
Rep: Reputation: 15
For the previous problem, i used sudo to run the application from non root user and thanks for the link which you provided.
 
Old 02-25-2008, 11:43 PM   #8
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Please reply to the first two questions in post #6.

If you want to install a vanilla kernel, you will first need to install the programming tools... gcc, et al. But it sounds to me like you really need to be using Debian.

Mind you, you could always try installing a debian kernel...
http://damnsmalllinux.org/cgi-bin/fo...t;f=12;t=19783

Last edited by Simon Bridge; 02-25-2008 at 11:45 PM.
 
Old 02-26-2008, 04:25 AM   #9
East
Member
 
Registered: Jan 2008
Posts: 84

Original Poster
Rep: Reputation: 15
Thanks simon.
Both links were useful. It seems i have to download individual packages using apt-get install. So i will download the gcc package and will try installing it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Installing Pidgin with missing dependencies without root access DiagonalArg Linux - Software 1 06-27-2007 01:51 AM
vnc missing c++ on dsl carltp DamnSmallLinux 2 09-02-2006 10:05 PM
What's missing in DSL, Morphix and MD Remote Linux - Distributions 2 02-15-2004 05:17 PM
DSL Access KptnKrill Linux - General 4 11-06-2003 06:58 AM
DSL only as root?!?! Scruff Slackware 29 10-19-2003 05:01 PM


All times are GMT -5. The time now is 03:16 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration