LinuxQuestions.org
Review your favorite Linux distribution.
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 05-31-2005, 10:51 PM   #1
death_au
LQ Newbie
 
Registered: Mar 2005
Location: Australia
Distribution: Debian - Installed from KNOPPIX CD
Posts: 21

Rep: Reputation: 15
Using Xdialog to su


This probably gets asked all the time, but how can I write a shell script that creates an X window (using Xdialog) to prompt for the root password so that the rest of the script can be run as root?
Code:
su -
requires TTY (I'm not even sure what that means)
 
Old 05-31-2005, 11:41 PM   #2
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
why dont you use gksu or kdesu read up on sudo
 
  


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
Need help with Xdialog justintime32 Linux - Software 1 06-17-2005 03:17 PM
Xdialog --geometry bendeco13 Linux - General 0 11-06-2004 01:20 AM
Xdialog --progress bendeco13 Linux - General 0 10-27-2004 09:58 PM
Simple script in Xdialog.. help pawellt Programming 1 12-17-2003 02:41 AM
how to call xdialog from a daemon dscherry Linux - Software 0 09-20-2003 01:46 PM


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