02-07-2008
There are very few things that require root privileges, you might be better off with wheel groups and sudo to become non-root users. Such as a script that became the SVN user and t hen deployed a SVN repository or what have you rather than becoming root to do so.
Anything that you become root for and then root chowns stuff to another user is a good sign that it could be done without being root for example.
10 More Discussions You Might Find Interesting
1. Ubuntu
Hello all,
Anyone fimilar with su -l command?
So when I do su -l <user> any user it doesn't prompt me for password for that user. How I enable sudo to prompt for password whenever su -l command is used.
Please help!
thanks,
-Lalit
:D (7 Replies)
Discussion started by: email-lalit
7 Replies
2. UNIX for Dummies Questions & Answers
Folks;
I have SUDO configured on my SUSE boxes to allow a specific groups to run specific duties so one group has ALL permission & other group has permission to run a few commands only.
when i look at the sudoer log, i see people login info only,
Is there a way to capture every thing users do... (3 Replies)
Discussion started by: Katkota
3 Replies
3. UNIX for Dummies Questions & Answers
Hi! I'm very new to unix, so please keep that in mind with the level of language used if you choose to help :D Thanks!
When attempting to use sudo on and AIX machine with oslevel 5.1.0.0, I get the following error:
exec(): 0509-036 Cannot load program sudo because of the following errors:... (1 Reply)
Discussion started by: Chloe123
1 Replies
4. AIX
Sudo In AIX, how to find out what commands have been run after a user sudo to another user? for example, user sam run 'sudo -u robert ksh' then run some commands, how can I (as root) find what commands have been run?
sudo.log only contains sudo event, no activity logging. (3 Replies)
Discussion started by: jalite19
3 Replies
5. Shell Programming and Scripting
I am writing a BASH script to update a webserver and then restart Apache. It looks basically like this:
#!/bin/bash
rsync /path/on/local/machine/ foo.com:path/on/remote/machine/
ssh foo.com sudo /etc/init.d/apache2 reloadrsync and ssh don't prompt for a password, because I have DSA encryption... (9 Replies)
Discussion started by: fluoborate
9 Replies
6. Shell Programming and Scripting
Hi All,
I running a unix command using sudo option inside shell script. Its working well. But in crontab the same command is not working and its throwing
"sudo: sorry, you must have a tty to run sudo". I do not have root permission to add or change settings for my userid. I can not even ask... (9 Replies)
Discussion started by: Apple1221
9 Replies
7. Shell Programming and Scripting
Hi, Have a need to run the below command as a "karuser" from a java class which will is running as "root" user. When we are trying to run the below command from java code getting the below error.
Command:
sudo -u karuser -s /bin/bash /bank/karunix/bin/build_cycles.sh
Error:
sudo: sorry,... (8 Replies)
Discussion started by: Satyak
8 Replies
8. UNIX for Dummies Questions & Answers
Hello all,
I have a script (script.sh) that is owned and executed by root. Now I need to give another user (user1) sudo access to execute that script.
I edited the /etc/sudoers file, and created the following:
# Runas alias specification
Runas_Alias RO = root
user1 ALL=(RO)... (1 Reply)
Discussion started by: designbc
1 Replies
9. UNIX for Advanced & Expert Users
Hi All
I want to grant elevated privs to a user that will be running a script as a background task. It will be launched from an ssh session via an embedded command in its key that just allows that account to run that script.
I'm reading up on sudo and notice that -
user ALL=(ALL) ALL
... (2 Replies)
Discussion started by: steadyonabix
2 Replies
10. AIX
I am running AIX 6.6.5.115 and am experiencing a problem using sudo. I have shell scripts that I created for our HR user and shell scripts that I created for root administrators. I do have a need to embed a sudo command in the user shell script to run one command as root. However the two... (8 Replies)
Discussion started by: RonDeF
8 Replies
xcfa(1) Manual: Xcfa xcfa(1)
NAME
xcfa - GTK+ Implementation of the GNU shell command.
SYNOPSIS
xcfa [OPTION]... [FILE]...
-h, -help
Displays this help section and exits.
-version
Displays the version of the program and exits.
-verbose
Activate verbose mode
-systray
Activate systray mode
DESCRIPTION
Interface contains console tools (cdparanoia, lame, oggenc, ...).
Allows extraction of audio from DVD to .wav format.
Allows extracting audio from CD to formats such as: wav, mp3, flac, ogg, m4a, mpc, ape.
Allows encoding audio to: wav, mp3, flac, ogg, m4a mpc, ape.
Allows encoding the .wma format to: wav, mp3, flac, ogg, m4a mpc, ape.
Allows cutting of files.
Allows management of common file-types before converting.
Allows management of bitrates, frequencies, and channels.
Allows creation of CD covers.
Developed with Gtk2 and Glade and runs under the X window system on the GNU platform.
USAGE
After the first launch, go to the Options tab and modify the settings to your liking.
ADDING THE GPG KEY
With sudo:
$ wget http://download.tuxfamily.org/xcfaudio/download/xcfaudio.key.asc -O - | sudo apt-key add -
Without sudo:
$ su root
[Enter the password for root.]
# wget http://download.tuxfamily.org/xcfaudio/download/xcfaudio.key.asc -O - | apt-key add -
Another solution with root:
# gpg --keyserver subkeys.pgp.net --recv 00B21603DD5C7A79
# gpg --export --armor 00B21603DD5C7A79 | sudo apt-key add -
SOURCES.LIST
Add the following lines to your [ /etc/apt/sources.list ] file for automatic updates:
## Xcfa for i386 and amd64
deb http://download.tuxfamily.org/xcfaudio/xcfa dev contrib
deb-src http://download.tuxfamily.org/xcfaudio/xcfa dev contrib
COMPLEMENTARY PACKAGE INSTALLATION
:
See the Recovery and Complementary package installation guide:
http://www.xcfa.tuxfamily.org/index.php?static2/xcfa
CHANGELOG
Read the ChangeLog file and view the source code.
AUTHOR
XCFA is developed by Claude Bulin (xcfa@tuxfamily.org)
4.3.1 Wed, 23 May 2012 xcfa(1)