LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 11-24-2004, 10:19 AM   #1
FragInHell
Member
 
Registered: Sep 2003
Location: Sydney Australia
Distribution: Redhat, Centos, Solaris, Ubuntu, SUSE
Posts: 282

Rep: Reputation: 45
Long Shot Question - Solaris 9 / Sudo / TSM Server.


Hi Guys,

this may well be a long shot here but I'm hoping some one else has also come accross this problem.
I have a solaris 9 system, using sudo and IBM TSM server. I have to take away root acccess for the TSM admin, so I'm using Sudo. I have all the commands I need apart from starting TSM itself.
I can start tsm using sudo, but it hangs the session. Either the session has to be quit from or TSM stopped.
I've tried

sudo /path-to-tsm/dsmserv quiet &
sudo "/path-to-tsm/dsmserv quiet &"
sudo -b /path-to-tsm/dsmserv quiet

the normal command run from root is /path-to-tsm/dsmserv quiet &
it throws out a few lines of text then runs into the background releasing the shel so I can carry on with other commands.

Any idea / advise !!!

I'm loosing my hair over this, its got to be simple too I'm sure....
 
Old 11-24-2004, 12:48 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
It's unclear for me what the problem is, but you can try:
Code:
nohup sudo -b /path-to-tsm/dsmserv quiet </dev/null >/tmp/dsm.log 2>&1 &
 
Old 11-25-2004, 09:05 AM   #3
FragInHell
Member
 
Registered: Sep 2003
Location: Sydney Australia
Distribution: Redhat, Centos, Solaris, Ubuntu, SUSE
Posts: 282

Original Poster
Rep: Reputation: 45
Wow this is great, that worked really well. Thanks that gets the user off my back - and more importantly my boss.

Cheers
 
  


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
A Long Shot. Domino for Linux problem. Pcghost Linux - Software 14 05-03-2006 11:07 PM
A long shot: any C++ financial analysts out there? frankie_DJ Programming 1 10-09-2004 08:16 AM
This is a long shot, but... veritas General 0 06-15-2004 06:51 PM
Long shot... Reinstall Debian bfloeagle Debian 2 02-10-2004 04:20 PM
Microsoft on a long shot.... Underworld General 6 12-01-2003 11:47 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

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