- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: user without email
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-04-2002 09:38 AM
03-04-2002 09:38 AM
o The user must be able to receive and read mails sent to him.
o The user is not allowed to send any mail.
Any suggestions? OS is HP-UX 10.20.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2002 09:43 AM
03-04-2002 09:43 AM
Re: user without email
You'd have to do quite a lot to restrict them from using "mail" if you give them access to a shell prompt. It's not worth the effort, use the ".forward"!
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2002 09:55 AM
03-04-2002 09:55 AM
Re: user without email
forwarding is no option.
Any other suggestion?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2002 10:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2002 10:03 AM
03-04-2002 10:03 AM
Re: user without email
If the user is able to read his emails, he can send emails too. there is no choice. You can withdraw the read permission for the user from reading emails by making the user mail file /var/mail/user_name non-readable by the user. But you cannot block him from sending emails.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2002 10:06 AM
03-04-2002 10:06 AM
Re: user without email
Using perl, you can easy "parse" the messages:
http://perl.oreilly.com/news/perladmin_0700.html
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2002 10:20 AM
03-04-2002 10:20 AM
Re: user without email
A semi-sophisticated way to accomplish what you ask is to cron a script that runs mailx or mail or whatever, reads the mail, and saves it to a file that the user has read access to. The downside is that mail it not "real-time" for the user in question, but if they cannot send, how much of a need is that?
But, Harry made a valid point in that if you are running exchange or groupwise or some pc-based mail system, you can set the .forwards to route the mail for that user there.
HTH
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2002 10:30 AM
03-04-2002 10:30 AM
Re: user without email
Even if the mailer like elm, mailx is not in the user path, the user can use the absolute path to access the mailer.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2002 10:41 AM
03-04-2002 10:41 AM
Re: user without email
$ /tmp/a.out
rksh: /tmp/a.out: restricted
$
vi himom
:!/tmp/a.out
0.73[Hit return to continue]
or better yet:
vi himom
:!/usr/bin/ksh
$ ps
PID TTY TIME COMMAND
11153 pts/1 0:00 ksh
11269 pts/1 0:00 vi
11287 pts/1 0:00 vi
11329 pts/1 0:00 ps
11327 pts/1 0:00 ksh
11150 pts/1 0:00 rlogind
11170 pts/1 0:00 rksh
11280 pts/1 0:00 ksh
$
and I'm no longer restricted! Imagine taking "/usr/bin" out of a users path? (for vi and more)
live free or die
harry