- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Length of User ID
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
03-03-2003 09:14 AM
03-03-2003 09:14 AM
Length of User ID
I want to create a userID "customer_service" to match the one used on our MS exchange server. This user would just send automatic confirming mail from the Unix box. The replies to the emails would go to the MS exchange box.
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2003 08:52 AM
03-03-2003 08:52 AM
Re: Length of User ID
You are limited to 8 characters for the user ID. There is a patch that will let you go beyond 8 characters but it will probably break some other utilities and isn't worth the hassle.
My suggestion is to setup a user ID such as 'custsvc' on the Unix box and then use the alias function in sendmail to have the e-mail go out as customer_service. You can probably spoof the return address in the e-mail so that it points back to your M$ exchange box.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2003 08:54 AM
03-03-2003 08:54 AM
Re: Length of User ID
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xafc650dde50cd71190050090279cd0f9,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2003 08:54 AM
03-03-2003 08:54 AM
Re: Length of User ID
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000065679828
It mentions that this can be enabled with patch PHCO_21833. The most current version of that is PHCO_26089. You can read about it here:
http://www1.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_26089&context=hpux:800:11:00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2003 08:56 AM
03-03-2003 08:56 AM
Re: Length of User ID
HP does have the limitation of usernames to 8 chars. You can install the patch PHCO_26089 to bypass the limitation but note the following from the patch's description.
//
Resolution:
libpam_unix.1 now checks for the existence of a file
in the "/etc/default" directory called:
"I_ACCEPT_RESPONSIBILITY_FOR_BYPASSING_SECURITY_CHECKS".
If this file exists, then login names longer than 8
characters can be added to /etc/passwd, and then those
users can login. Note the following restrictions:
1) HP has never claimed that HP-UX supports user names
longer than 8 characters, and does not recommend that
customers bypass the existing length checks. Doing
so may cause functional and/or security problems.
2) This patch does not remove the existing user name
length checks from other commands - e.g. pwck(1m),
sam(1m), useradd(1m).
3) Do not enable long usernames on trusted system
configurations.
//
So, with that you cannot get the SAM functionality, but you can manually create the entries.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2003 09:20 AM
03-03-2003 09:20 AM
Re: Length of User ID
Though the userid can be extended beyond 8 characters (via a patch, I think) you really don't want to do that. You'll end up creating many other problems for your self. Abbreviate instead.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2003 09:21 AM
03-03-2003 09:21 AM
Re: Length of User ID
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2003 10:37 AM
03-03-2003 10:37 AM
Re: Length of User ID
Sounds like it isn't a good idea to change the lengh of the userID.
My HP box is only setup to send email.
By putting in an /etc/aliases is it not for receiving email?
How would I get that to be used as the Return/Replay address?
I will be reading a database to get an email address and sending a generic confirm and did not want any email to be sent back to the HP.
How would I send an email where the Return/Reply address is different than the user?
I have am running sendmail and using a simple script to do it. like this
mailx -s '"$SUBJECT"' $ADDRESS < $MESSAGE_FILE
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2003 11:05 AM
03-03-2003 11:05 AM
Re: Length of User ID
Here is a way that I think you can do it. First, you'll need the alias for the 'custsvc' [or whatever ID you give it] to map to customer_service, so you'll need an entry in /etc/mail/aliases like this:
custsvc : customer_service@mydomain.com
Be sure to do a 'newaliases' command after updating the aliases file to get it into the database.
Then, you'll need to use the 'DM' macro keyword in your sendmail config file to masquerade your domain, so you'll have an entry there like this:
DMmydomain.com
We use the 'DM' macro in the sendmail config on all our HP-UX boxes and email from 'root' on all the boxes comes to us as 'root@ourdomain.com', and if I try to reply to the e-mail it goes back to that same e-mail address.
I'm not a sendmail guru and others should chime in here if I've got it wrong.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2003 11:06 AM
03-03-2003 11:06 AM
Re: Length of User ID
If the email is addressed to customer_service@machine.com, the alias might read:
customer_service: custserv
where custserv is a real user. Now if a 'real' user replies, you can use the -r option for mailx or even -f option of sendmail (with restrictions). Your script would look like this:
mailx -s '"$SUBJECT"' -r customer_service@mymachine.com $ADDRESS < $MESSAGE_FILE
NOTE: The header will contain a note that the reply address is different than the sender's which part of being a good citizen in a world of spam...but may occasionally get bounced due to over-zealous spam filters.
Bill Hassell, sysadmin