LinuxQuestions.org
Visit Jeremy's Blog.
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


View Poll Results: Would you like to see more graphical tools in Slackware?
Yes 24 13.71%
No 124 70.86%
No, there are enough already in KDE 27 15.43%
Voters: 175. You may not vote on this poll

Reply
  Search this Thread
Old 10-05-2010, 07:52 PM   #61
the3dfxdude
Member
 
Registered: May 2007
Posts: 730

Rep: Reputation: 358Reputation: 358Reputation: 358Reputation: 358

Quote:
Originally Posted by maxmiorim View Post
Regardless, it's kind of easy to do it using command line tools:
1 - use netfsresize to shrink the filesystem in /dev/sda1
2 - use sfdisk, fdisk, cfdisk or whatever to resize /dev/sda1
3 - create the new partitions
4 - format /dev/sda3 and /dev/sda4 accordingly

There's also parted, gparted is just a graphical front-end that uses the same libparted...

Now imagine doing this crazy thing on 40-50 computers, would you click through or automatize and use a script? I'd use a script, the computers are supposed to work for me, not the other way around. :P
Yes, I know, I've done it too at the command line It was just a strange thing to suggest for a use case comparison between command line and gui when both can actually do it. My point was let the user decide the tool to use with the task at hand.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 10-05-2010, 07:55 PM   #62
qweasd
Member
 
Registered: May 2010
Posts: 621

Rep: Reputation: Disabled
Quote:
Originally Posted by maxmiorim View Post
Now imagine doing this crazy thing on 40-50 computers
Checkmate
 
Old 10-05-2010, 09:51 PM   #63
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
A few days ago I installed a new HP All-N-One that was not yet supported by Slack64-C so I made and installed the new hplip package which I blacklisted.
There's two ways to do it.

CLI
su
slackpkg blacklist hplip

GUI
kdesu thunar (cuz dolphin often wont work)
etc>slackpkg>blacklist>(add) hplip

CLI for me is faster

I remember when k3b wouldn't work but the CLI always dose.
 
Old 10-05-2010, 10:57 PM   #64
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Rep: Reputation: 205Reputation: 205Reputation: 205
Quote:
Originally Posted by slackass View Post
CLI
su
slackpkg blacklist hplip
man up dude !
log in as root
 
Old 10-05-2010, 11:14 PM   #65
Ramurd
Member
 
Registered: Mar 2009
Location: Rotterdam, the Netherlands
Distribution: Slackwarelinux
Posts: 703

Rep: Reputation: 111Reputation: 111
Quote:
Originally Posted by rob.rice View Post
man up dude !
log in as root
don't take the name of root in vain! :-)
I'd use the even shorter form:
Code:
sudo slackpkg blacklist hplip
Especially repeated tasks are indeed much better to script. I'd say that rather than graphical tools replacing the cli tools, I'd prefer graphical tools that are a front-end to the real cli stuff. On top of being proven to work (the cli stuff) they lend themselves to scripting much better than any gui. Then again, a gui can be practical for purposes of overview, or -best of all- generating that complicated command line, which you then can copy/paste and put into your script :-)
 
Old 10-05-2010, 11:17 PM   #66
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
Quote:
Quote:
Originally Posted by slackass

CLI
su
slackpkg blacklist hplip
Originally Posted by rob.rice

man up dude !
log in as root
Uh, unless I missed something su does by default log into root.
 
Old 10-06-2010, 12:30 AM   #67
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
Quote:
Originally Posted by rob.rice View Post
man up dude !
log in as root
I'm too lazy for all that.
Right click desktop > leave > logout > type "root" > type password > press enter > open terminal > slackpkg blacklist hplip
 
Old 10-06-2010, 12:38 AM   #68
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Darth Vader View Post
For the Console Jedi's...
Please, use only the console tools (i.e. cfdisk, ntfsprogs, dd), excluding the graphical partitioning tools like GParted, KDE Partition Manager or DARKSTAR's Disk Manager.
For the record, Slackware does include KDE partition manager in extra/ so i dont see the point of this "riddle".
 
Old 10-06-2010, 12:47 AM   #69
SuperTico
LQ Newbie
 
Registered: Sep 2010
Location: Costa Rica
Distribution: SalineOS 1.5
Posts: 20

Rep: Reputation: 1
No. I can do everything I need to do , and more, with a basic install.
More crap and the next thing you know Wizards will appear. I can get those in Redmond.
 
Old 10-06-2010, 01:09 AM   #70
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Rep: Reputation: 205Reputation: 205Reputation: 205
Quote:
Originally Posted by Jeebizz View Post
Uh, unless I missed something su does by default log into root.


only kind of sort of most of the programs in /sbin and /usr/sbin will not run
unless you are loged in as root you don't get root's environment
I don't think you get to write to anything owned by
root like /etc

the way I see it is if I have to type in my 13 charter root password blind
I may as well go ahead and log in to a virtual terminal as root

I was a DOS user long before I ever heard of linux so I know how NOT to trash a system while wielding the power of root
(but just encase I have another copy of linux installed and the install disk handy)

Last edited by rob.rice; 10-06-2010 at 01:35 AM.
 
Old 10-06-2010, 01:15 AM   #71
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Rep: Reputation: 205Reputation: 205Reputation: 205
Quote:
Originally Posted by slackass View Post
I'm too lazy for all that.
Right click desktop > leave > logout > type "root" > type password > press enter > open terminal > slackpkg blacklist hplip
crtl+alt+f6 type "root" type "root's password"

unless you have changed /etc/initab to run gettys for all 6 virtual terminals in run level 4 and 5
then it would be crtl+alt+ f1 to f6
 
Old 10-06-2010, 01:25 AM   #72
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Quote:
Originally Posted by rob.rice View Post
only for that ONE command line
the way I see it is if I have to type in my 13 charter root password blind
I may as well go ahead and log in to a virtual terminal
Quote:
Originally Posted by rob.rice View Post
crtl+alt+f6 type "root" type "root's password"

unless you have changed /etc/initab to run gettys for all 6 virtual terminals in run level 4 and 5
then it would be crtl+alt+ f1 to f6
Or get used to GNU screen and keep a root window around. Window 0 is my designated root window -- no need to switch in and out of X, and I only use window 0 if I'm actually doing something that requires root access. GNU screen is one of the best CLI applications in existence. It really makes the terminal usable.
 
Old 10-06-2010, 01:49 AM   #73
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Rep: Reputation: 205Reputation: 205Reputation: 205
Quote:
Originally Posted by T3slider View Post
Or get used to GNU screen and keep a root window around. Window 0 is my designated root window -- no need to switch in and out of X, and I only use window 0 if I'm actually doing something that requires root access. GNU screen is one of the best CLI applications in existence. It really makes the terminal usable.
what dose the command line for that look like

the virtual terminal is like running around in my old stomping grounds
(from my DOS days)

I edited that first post you quoted I had sudo and su confused I never use ether one sense I found out about the limitations of them and had to set a long and complex root pass word I could remember
 
Old 10-06-2010, 01:53 AM   #74
Squall90
Member
 
Registered: Oct 2009
Distribution: Currently several distros :S
Posts: 148

Rep: Reputation: 29
If you're just running one command why don't you use the "-c" parameter of su? (This is why I don't see any reason to use sudo except for gksu for graphical distributions like openSUSE, Fedora or whatever..)
 
Old 10-06-2010, 07:34 AM   #75
maxmiorim
Member
 
Registered: Sep 2010
Location: Brazil
Distribution: Slackware
Posts: 43

Rep: Reputation: 8
This is going a bit offtopic but sudo has a couple of goodies if compared to "su -c" such as the possibility to restrict/set the environment properly (eg. make sure that users are running things in a trusted PATH like /sbin/fdisk rather than /home/joe/bin/fdisk) and better control over who does and when something can be done (eg. i want to allow webdeveloper01 to restart apache but i don't want him to do anything else).

Not saying that it's "better" or "worse" than su -c, it's a good tool for those who need its features and no one is forced to use it either.

Last edited by maxmiorim; 10-06-2010 at 07:35 AM. Reason: typos, typos everywhere!
 
  


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
LXer: Powerful graphical tools for Ubuntu Linux LXer Syndicated Linux News 0 08-17-2008 04:50 AM
Setup Network Card using terminal instead of graphical tools singchan Linux - Networking 2 09-12-2006 11:56 AM
DNS Graphical tools shipon_97 Linux - Newbie 3 06-27-2006 11:59 AM
Enable to start graphical root-tools xpucto Linux - Software 1 09-19-2005 12:39 PM
Enable to start graphical root-tools xpucto Fedora 0 09-19-2005 07:51 AM

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

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