Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Why doesn't this su command work...?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
meulie
l33t
l33t


Joined: 17 Jun 2003
Posts: 845
Location: a Dutchman living in Norway

PostPosted: Sat May 22, 2004 3:44 pm    Post subject: Why doesn't this su command work...? Reply with quote

When I type:
Code:
su - evert /usr/bin/centericq


I get:

Code:
/usr/bin/centericq: /usr/bin/centericq: cannot execute binary file


What did I do wrong here? I thought I could put a command behind the su command... :roll:
_________________
Greetz,
Evert Meulie
Back to top
View user's profile Send private message
zerb
Tux's lil' helper
Tux's lil' helper


Joined: 07 Aug 2003
Posts: 145
Location: Germany

PostPosted: Sat May 22, 2004 3:57 pm    Post subject: Reply with quote

you probably mean sudo
Back to top
View user's profile Send private message
ecatmur
Advocate
Advocate


Joined: 20 Oct 2003
Posts: 3595
Location: Edinburgh

PostPosted: Sat May 22, 2004 4:00 pm    Post subject: Reply with quote

Use "su -c command".
_________________
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Back to top
View user's profile Send private message
meulie
l33t
l33t


Joined: 17 Jun 2003
Posts: 845
Location: a Dutchman living in Norway

PostPosted: Sat May 22, 2004 8:10 pm    Post subject: Reply with quote

ecatmur wrote:
Use "su -c command".



Thanks! :)
That did the trick...! :)
_________________
Greetz,
Evert Meulie
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum