HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Shells in SAM
Operating System - HP-UX
1826219
Members
2864
Online
109691
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
04-01-2003 07:02 AM
04-01-2003 07:02 AM
Shells in SAM
Could anybody tell me where does the list of available shell come from in SAM? I mean:
If a new user is added you can choose a shell from a list in SAM. But this list has nothig to do with e.g /etc/shells. Where does the list come from than? I just want to add few others to able to set in SAM.
Thanks in advance.
If a new user is added you can choose a shell from a list in SAM. But this list has nothig to do with e.g /etc/shells. Where does the list come from than? I just want to add few others to able to set in SAM.
Thanks in advance.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2003 07:30 AM
04-01-2003 07:30 AM
Re: Shells in SAM
I believe it's from the file /usr/sam/lib/C/ug.ut.ui and if you take a look closely at that file you would see a list of shells that appears in SAM useradd pull down menu ..
....
choices {
label "Start-Up Program Choices"
help "UGUTtd.CreatNonTrstUsrTmplt.sdl:Choices+StartProgList"
...
data "/usr/bin/sh"
"/usr/bin/csh"
"/usr/bin/ksh"
"/usr/bin/rsh"
"/usr/bin/rksh"
"/usr/bin/keysh"
..........
....
choices {
label "Start-Up Program Choices"
help "UGUTtd.CreatNonTrstUsrTmplt.sdl:Choices+StartProgList"
...
data "/usr/bin/sh"
"/usr/bin/csh"
"/usr/bin/ksh"
"/usr/bin/rsh"
"/usr/bin/rksh"
"/usr/bin/keysh"
..........
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2003 03:12 AM
04-03-2003 03:12 AM
Re: Shells in SAM
Although I more than sure that's the config file to modify it still not works. BTW in /usr/sam/lib/C/ug.ut.ui there are four section around shells:
ug_ut_def_sup (3 similar section, around lines 258, 1748, 2793) and ug_ut_mod_sup.
I have added to all four section the "/usr/local/bin/bash" but still doesn't show up in SAM.
Sholud be something initialized or a daemon restarted? How? Which?
Any help will be appreciated.
ug_ut_def_sup (3 similar section, around lines 258, 1748, 2793) and ug_ut_mod_sup.
I have added to all four section the "/usr/local/bin/bash" but still doesn't show up in SAM.
Sholud be something initialized or a daemon restarted? How? Which?
Any help will be appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2003 03:25 AM
04-03-2003 03:25 AM
Re: Shells in SAM
Hi
I do not think it will work lilke that anyway.
I did a couple of tests and
1).You can type the required shell in SAM's "add user" screen,
or
2)You could create a users template with the shell:
Like this
SAM
user area, use
Action/User Templates/Create to create the template.In it you can define your desired shell and when you want todo a user create using that shell/template,
SAM
user area, use Action/User Templates/Select to select template you want.
Then use Action/Add to add a user using that template.
Steve Steel
I do not think it will work lilke that anyway.
I did a couple of tests and
1).You can type the required shell in SAM's "add user" screen,
or
2)You could create a users template with the shell:
Like this
SAM
user area, use
Action/User Templates/Create to create the template.In it you can define your desired shell and when you want todo a user create using that shell/template,
SAM
user area, use Action/User Templates/Select to select template you want.
Then use Action/Add to add a user using that template.
Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP