LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-26-2003, 03:51 AM   #1
xconspirisist
Member
 
Registered: Dec 2002
Location: United Kingdom
Distribution: Ubuntu
Posts: 276

Rep: Reputation: 30
drake 9 - logging in as root...


hey there, I hope this sounds like a nob-ass question to you guys, but I cant just work it out...

Ive got a file, mgmt.o ( for the alcatel frog ) that needs to be copyyied, into /usr/share/speedtouch . Ok, fine, I have the mgmt.o on my desktop, and I just drag and drop.. nope. The /usr/share/speedtouch is owned by root, and therefore I dont have permishions and cant copy the file...

I figured out you could log into root via one of the numerous terminals that come with drake, but I dont know the copy command...

any help would be great, thanks guys.
 
Old 05-26-2003, 03:57 AM   #2
Gantrep
Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 78

Rep: Reputation: 15
type "man cp" on the command line and it will tell you more than you need to know.

also, man mv , man rm, man ls, man cd, man ln
 
Old 05-26-2003, 04:00 AM   #3
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 3,950

Rep: Reputation: Disabled
Yes, you should definitely consider ln. Btw. when you log in as root, can't you drag and drop the icon then (there is again the possibility to set a link)?
 
Old 05-26-2003, 04:05 AM   #4
xconspirisist
Member
 
Registered: Dec 2002
Location: United Kingdom
Distribution: Ubuntu
Posts: 276

Original Poster
Rep: Reputation: 30
I cant set a link, as the folder is still owned by root, I cant modify it as my current user.

thanks for that - man commands, ill try it in a few minutes and get back to you. But in hat 9, you could login as root, and have a gui to do things, is that not possible in drake 9 ?

Thanks for the quick reply, this forum rocks !!

Last edited by xconspirisist; 05-26-2003 at 04:07 AM.
 
Old 05-26-2003, 04:09 AM   #5
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 3,950

Rep: Reputation: Disabled
Of course you can (I don't have Mandrake, but this is Linux, remember?). I'd try to type /sbin/init 5 into the terminal (maybe startx will do as well). Corrections, anybody?
 
Old 05-26-2003, 04:19 AM   #6
Gantrep
Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 78

Rep: Reputation: 15
try /sbin/telinit 5 instead of /sbin/init 5. Also default runlevels can be changed in /etc/inittab
 
Old 05-26-2003, 04:22 AM   #7
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 3,950

Rep: Reputation: Disabled
Quote:
Originally posted by Gantrep
try /sbin/telinit 5 instead of /sbin/init 5. Also default runlevels can be changed in /etc/inittab
What does /sbin/telinit 5 do differently?
 
Old 05-26-2003, 04:34 AM   #8
Gantrep
Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 78

Rep: Reputation: 15
Hmm. Well I guess you're right. Learn something new everyday. For some reason, I thought telinit was the proper way to do it, but from the manpage, it appears that it really is the same thing.

"/sbin/telinit is linked to /sbin/init. It takes a one-character argu-
ment and signals init to perform the appropriate action."

and
" From this it follows that instead of calling telinit one can also just use init instead as a shortcut."
 
Old 05-26-2003, 04:39 AM   #9
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 3,950

Rep: Reputation: Disabled
Quote:
Originally posted by Gantrep
...
" From this it follows that instead of calling telinit one can also just use init instead as a shortcut."
See? I saved you three characters for every init-command issued. Why don't you donate them to a good cause?
 
Old 05-26-2003, 04:46 AM   #10
Gantrep
Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 78

Rep: Reputation: 15
Well _ACTUALLY_

/sbin/te and TAB completes with telinit.
whereas i have to type
/sbin/ini TAB to complete with init
 
Old 05-26-2003, 04:52 AM   #11
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 3,950

Rep: Reputation: Disabled
_AWWW_

An here I thought I could vicariously save the world.

But hey: why don't you set an alias, say, ini=/sbin/init and save even more to then donate? Not everything lost yet, I hope...

 
Old 05-26-2003, 04:52 AM   #12
Gantrep
Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 78

Rep: Reputation: 15
No comments about my path variable either. Yes it does include /sbin/ just shhh and let me use my telinit......
 
Old 05-26-2003, 04:59 AM   #13
Gantrep
Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 78

Rep: Reputation: 15
I'm afraid that aliases would be the death of me.
 
Old 05-26-2003, 05:01 AM   #14
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 3,950

Rep: Reputation: Disabled
*sob*

I cease, desist and give up. Poor, poor world, deprived of your surplus letters. Here we learn, what hardheartedness does to us all...

 
Old 05-26-2003, 05:05 AM   #15
Gantrep
Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 78

Rep: Reputation: 15
I do my part by using vim. The poor Ugandan children get all the letters I save by typing things like ESC : wq ENTER and d 20 d.
 
  


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
Logging in as root rob250 Linux - Newbie 6 08-03-2004 03:46 PM
Logging on as Root Iain Wilson Linux - Newbie 7 09-16-2003 03:23 AM
Logging In as root DiabloDan Linux - Newbie 6 07-22-2003 04:00 PM
Logging on as root in drake 9.1 jared Linux - Newbie 6 05-25-2003 01:15 PM
using red-carpet without logging out and logging as root. packman Linux - Software 1 12-09-2002 03:55 AM


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