- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Creating login account for user to run an applicat...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 08:30 AM
01-30-2006 08:30 AM
We are planning to install SiteMinder software product on hpux. It needs an user called "siteminder" to install and run the siteminder application process. The siteminder product would be installed in the directory /opt/rose/. I am thinking to create the user with home directory where the logs (/opt/rose/logs/) are being stored for this product. I believe that in case of core dump the siteminder user and process will core dump in /opt/rose/logs/ directory in this case ( am i right ??). I am thinking to specify the user's home directory as /opt/rose/logs/ to avoid disk space issue in normal user's home (home/user) directory caused due to core dump.
Any thoughts are appreciable.
Thanks,
Shiv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 08:35 AM
01-30-2006 08:35 AM
Re: Creating login account for user to run an application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 08:39 AM
01-30-2006 08:39 AM
SolutionI am siteminder 5.x.
I created an user called smuser.
My usggestion is don't use /opt.
Instead create a log directory in /var/smuser/logs.
/opt/smuser is the place where your application would go. Set an parameter for all your logs to go into /var/smuser/logs.
As var is not a static direcroty.
Don't worry core dumps will always occur from the place you are executing the application.
e.g if /opt/smuser/*.exe, they dump will be /opt/smuser/coredump
also to note that coredump is not a day to day event. Once your application is up and running after all testing ...then you may not get a core dump...
Hope this helps
Chan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 08:39 AM
01-30-2006 08:39 AM
Re: Creating login account for user to run an application
Core dumps happen where the binary is run from.
I believe the siteminder documentation should have specific instructions on what the user that owns the binaries should look like.
If its not specified, a standard user with a standard home directory should suffice. The users .profile file may require modification.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 08:47 AM
01-30-2006 08:47 AM
Re: Creating login account for user to run an application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 08:52 AM
01-30-2006 08:52 AM
Re: Creating login account for user to run an application
We have u"user" group, as it has its home /opt/smuser it can do execute its sm related commands.
Chan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 08:53 AM
01-30-2006 08:53 AM
Re: Creating login account for user to run an application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 08:55 AM
01-30-2006 08:55 AM
Re: Creating login account for user to run an application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 08:58 AM
01-30-2006 08:58 AM
Re: Creating login account for user to run an application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 08:59 AM
01-30-2006 08:59 AM
Re: Creating login account for user to run an application
The coredump will occur from where you execute the command.
e.g your path is set to
$PATH:/opt/smuser:
e.g.
# pwd
# /home/shiv
then type any sm command
smxxxx
systems come with
#coredump
# ls -lrt
you will find "coredump" in /home/shiv
Hope that helps
Chan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 09:03 AM
01-30-2006 09:03 AM
Re: Creating login account for user to run an application
yes, that's how I configred my SM here.
and it works fine.
If you have any doubt check the SM Inst Documentstion, in which you will not get any information about groups....ha..ha...ha..:-)
Chan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 09:15 AM
01-30-2006 09:15 AM
Re: Creating login account for user to run an application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 02:58 PM
01-30-2006 02:58 PM
Re: Creating login account for user to run an application
"smuser" is fine for Siteminder6.0
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 03:12 PM
01-30-2006 03:12 PM
Re: Creating login account for user to run an application
I believe you should use a user that are acceptable to the application and not one which you discuss here in the forums -- security issues..
you never know..
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 10:50 PM
01-30-2006 10:50 PM
Re: Creating login account for user to run an application
I totally agree with Yogee's say, we have standars to use "app" 2/3 charc and user for that user as Standards, viz,
SiteMinder - smuser
Oracle SID - orasid
SUN / HP (Engineers)- sunengg/hpengg.
You follow your standards.
smuser is totally fine...!!!
Best of luck with SiteMinder..!!
Chan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2006 01:38 AM
01-31-2006 01:38 AM
Re: Creating login account for user to run an application
We are using hp apache which starts as root user and switches to run as "www" user.
we have the entries on 2 different servers in passwd file as below:
www:*:30:1::/:
www:*:30:1::/:/bin/false
which is more appropriate to use ?
Is it a good practice to run apache process as www user with no shell ?
Regards,
Shiv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2006 02:11 AM
01-31-2006 02:11 AM
Re: Creating login account for user to run an application
My 2 cent:
www:*:30:1::/: # This to me looks very HP
www:*:30:1::/:/bin/false #This doesnt (SUN?)because HP has most of its command in /usr/bin (the same goes for /bin/ksh etc...
Now what implications does this have to put /usr/bin/false as a shell?
It will only be of some use to Not allow such user to connect itself on you box not matter how (rlogin telnet and especially ftp...) - But for this, it has to be a valid shell and so documented in /etc/shells
So which is best?
Dont know choosing between a command that returns 0 or 1 and no shell...
Im sure more specialized Gurus could give us their point of vue or insight..( much appreciated )
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2006 03:07 AM
01-31-2006 03:07 AM
Re: Creating login account for user to run an application
For apache : In Linux, it is
apache:x:48:48:Apache:/var/www:/sbin/nologin
For SSH in 11.23, it is
sshd:*:102:102:sshd privsep:/var/empty:/bin/false
It is better to use /bin/false for Siteminder too,
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2006 10:09 AM
01-31-2006 10:09 AM
Re: Creating login account for user to run an application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2006 10:36 AM
01-31-2006 10:36 AM
Re: Creating login account for user to run an application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2006 10:39 AM
01-31-2006 10:39 AM
Re: Creating login account for user to run an application
/bin/false is better, if you want more security that "www" should not be logged in at all.
Chan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2006 10:51 AM
01-31-2006 10:51 AM
Re: Creating login account for user to run an application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2006 11:03 AM
01-31-2006 11:03 AM
Re: Creating login account for user to run an application
even if "www" user is going to run a batch, use require the shell setup.
else no need.
in Gen the following users will have false
nobody:x:60001:60001:uid no body:/:/bin/false
noaccess:x:60002:60002:uid no access:/:/bin/false
bin:x:2:2:0000-Admin(0000):/usr/bin:/bin/false
sys:x:3:3:0000-Admin(0000):/:/bin/false
adm:x:4:4:0000-Admin(0000):/var/adm:/bin/false
rest all will have a shell
FY Ref: http://www.cert.org/tech_tips/unix_configuration_guidelines.html#A6
Chan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2006 11:09 AM
01-31-2006 11:09 AM
Re: Creating login account for user to run an application
It's test time.
I agree that there are security implications to posting too much information to ITRC if the server is to run on the public Internet.
I suggest you test the server without a shell and see how it functions. Run it, watch the logs, see if it works right.
There comes a time in every thread to test things out.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2006 11:36 AM
01-31-2006 11:36 AM
Re: Creating login account for user to run an application
Please remove threads for this post.
Thanks,
Shiv