10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hey all I am new to Linux/Unix and even newer to this forum. I am currently in college and am finishing intro to computer programming (C++) and Intro to operating systems. We only touched on Unix for a couple weeks but had an old laptop lying around so I downloaded linux mint onto it and figured id... (1 Reply)
Discussion started by: Texhilarate
1 Replies
2. Shell Programming and Scripting
Gents,
I found this script to to launch a KDE Konsole window with multiple tabs..
#!/bin/bash
#
# Create my standard konsole windows.
if ]; then
profile=Shell
fi
sessions=(
sh1 $profile 'clear; bash'
sh1 $profile 'clear; bash'
su1 $profile 'clear; su'... (1 Reply)
Discussion started by: jiam912
1 Replies
3. UNIX and Linux Applications
Hi
when I open a new KDE/terminal all my project groups are disappearing.
help is much appreciated.
Thanks
Sujay (2 Replies)
Discussion started by: sujaybatni
2 Replies
4. Shell Programming and Scripting
Hi ULFers,
I am trying to setup a (very) simple startup script on a centos 6.4 computer and it kind of failed.... Here are the details :
As said just above the computer setup is running a CentOS 6.4 x64, on this computer a vncserver is automatically started (by a chkconfig vncserver on), i... (1 Reply)
Discussion started by: pierpier
1 Replies
5. Shell Programming and Scripting
I created a very very basic script that opens multiple konsole terminals when I run the script which essentially sshs into a jump box into the end device and tails some logs etc etc. A few of the konsoles run scripts where the default font size is too big and the lines are cut off. Which I would... (3 Replies)
Discussion started by: NiCe
3 Replies
6. Shell Programming and Scripting
Hello,
I am attempting to create a script using kDE and bash. I need to be able ssh into a jump box and then the server then tail the log files then grep for. I have everything working cept the Grep for when using a pipe it does not run it on the server, I have removed the pipe enclosed... (0 Replies)
Discussion started by: NiCe
0 Replies
7. Programming
Hi,
Can anyone tell me why the below program is crashing? and where exactly it is crashing. What is the corrective measure to be taken to make it work fine?
#include <iostream>
#include <cstring>
using namespace std;
class CString {
char* m_data;
public:
CString() :... (6 Replies)
Discussion started by: royalibrahim
6 Replies
8. Shell Programming and Scripting
I'd like to know how to open a new konsole window and execute a command though it automaticaly. like is there a way to pipe a command into a newly opened window??
something like open new window
command-> newly opened window
execute command (2 Replies)
Discussion started by: beatzz
2 Replies
9. Linux
hi experts,
i'm running red hat linux, consider there's no visual interface, no X server...
actually there is one but it's written in Python!
what i need is to intall a decent web browser on it! is it possible? and i only have abt 100 MBs of free disk space... (1 Reply)
Discussion started by: elzalem
1 Replies
10. UNIX for Dummies Questions & Answers
FBSD 4.6
How do I colorize my konsole to see directories etc. Am able to get color in the shell with ls -GF in my .bashrc. But color does not show in KDE3 Konsole (Xwindows) for some reason.FBSD 4.6 (1 Reply)
Discussion started by: lancest
1 Replies
KDESU(1) KDE User's Manual KDESU(1)
NAME
kdesu - Runs a program with elevated privileges
SYNOPSIS
kdesu [-c] [-d] [-f file] [-i icon name] [-n] [-p priority] [-r] [-s] [-t] [-u user] [--nonewdcop] [command [arg1] [arg2] [...]]
kdesu [KDE Generic Options] [Qt Generic Options]
DESCRIPTION
KDE su is a graphical front end for the UNIX(R) su command for the K Desktop Environment. It allows you to run a program as different user
by supplying the password for that user. KDE su is an unprivileged program; it uses the system's su.
KDE su has one additional feature: it can optionally remember passwords for you. If you are using this feature, you only need to enter the
password once for each command.
This program is meant to be started from the command line or from .desktop files.
OPTIONS
-c program
This specifies the program to run as root. It has to be passed in one argument. So if, for example, you want to start a new file
manager, you would enter at the prompt: kdesu -c kfm -sw
-d Show debug information.
-f file
This option allow efficient use of KDE su in .desktop files. It tells KDE su to examine the file specified by file. If this file is
writable by the current user, KDE su will execute the command as the current user. If it is not writable, the command is executed as
user user (defaults to root).
file is evaluated like this: if file starts with a /, it is taken as an absolute filename. Otherwise, it is taken as the name of a
global KDE configuration file. For example: to configure the K display manager, kdm, you could issue kdesu -c kdmconfig -f kdmrc
-i icon name
Specify icon to use in the password dialog. You may specify just the name, without any extension.
-n Do not keep the password. This disables the keep password checkbox in the password dialog.
-p priority
Set priority value. The priority is an arbitrary number between 0 and 100, where 100 means highest priority, and 0 means lowest. The
default is 50.
-r Use realtime scheduling.
-s Stop the kdesu daemon. This is the daemon that caches successful passwords in the background. This feature may also be disabled with
-n when KDE su is initially run.
-t Enable terminal output. This disables password keeping. This is largely for debugging purposes; if you want to run a console mode
app, use the standard su instead.
-u user
While the most common use for KDE su is to run a command as the superuser, you can supply any user name and the appropriate pass-
word.
SEE ALSO
su(1)
More detailed user documentation is available from help:/kdesu (either enter this URL into Konqueror, or run khelpcenter help:/kdesu).
EXAMPLES
Run kfmclient as user jim, and show the Konqueror icon in the password dialog:
kdesu -u jim -i konqueror kfmclient
AUTHORS
KDE su was written by Geert Jansen <jansen@kde.org> and Pietro Iglio <iglio@fub.it>.
AUTHOR
Lauri Watts.
K Desktop Environment Jun 7, 2005 KDESU(1)