- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: problem whit su
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
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
07-23-2002 05:41 AM
07-23-2002 05:41 AM
problem whit su
I have a problem whit su, when i execute:
su - amass "ll" the system request
Mot de passe :
requestTERM = (hp)
is posible what the system don't request that?
i think that if include this line in the cron don't execute correct.
thank you for help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2002 05:45 AM
07-23-2002 05:45 AM
Re: problem whit su
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2002 05:46 AM
07-23-2002 05:46 AM
Re: problem whit su
If you are root, then su does not require to enter the password for the user amass.
But if you are not root, I'm afraid you have the enter the password.
HTH,
Vince
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2002 05:55 AM
07-23-2002 05:55 AM
Re: problem whit su
# eval `tset -s -Q -m ':?hp' `
Then you can run you su command. The original eval command in .login is not really needed most of the times.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2002 06:29 AM
07-23-2002 06:29 AM
Re: problem whit su
If you still must use "su - amass" , I think there must be some conflict in $HOME/.profile. You can comment out certain lines to have a test.
live as you wish
ux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2002 12:35 PM
07-23-2002 12:35 PM
Re: problem whit su
put that line with "tset" or "ttytype" into an "if-then" statement:
if [ -t 0 ]; then
tset ...
fi
Then it will only be executed when you "su" interactively, but not fform "cron" or "at"!
HTH,
Wodisch