LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-23-2008, 07:56 AM   #16
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled

I would have done:

Code:
kdesu kedit /etc/group
then you get a pop-up box asking for root's password. I usually use kwrite, but it should be the same for kedit.

Last edited by brianL; 03-23-2008 at 08:00 AM.
 
Old 03-23-2008, 09:42 AM   #17
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Debian, Void, Slackware, VMs
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
I usually use nano in a root shell prompt to edit files.
Sometimes I don't like to work as root and I'll make a copy of a file I want to modify and then I'll make changes to the copy as a regular user. When I'm finished editing then I'll su to root and copy the file into the proper place.
Let us say you wanted to make changes to inittab. You could make a copy of that and place it in a directory (documents). As a regular user navigate to your directory and use kedit or kwrite to make changes to the copy then save. Then open up a shell prompt, su to root.

# cd /home/hitest/documents
# cp inittab /etc

I also like to back-up files before I change them.
 
  


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
I made a mistake :( Megatog615 Slackware 11 04-15-2006 01:22 AM
Mistake I made with Mouse dolphans1 Mandriva 3 11-20-2005 08:33 AM
made a time mistake speel Linux - Newbie 2 04-30-2005 03:20 AM
I made a mistake! Need help now jcksrobbins Mandriva 8 08-30-2003 10:17 PM
I made a mistake need help here ikw38 Linux - Networking 4 06-16-2003 01:06 PM

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

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