HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- set automatic choose of group at login
Operating System - HP-UX
1833052
Members
2392
Online
110049
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
08-17-2000 12:39 PM
08-17-2000 12:39 PM
set automatic choose of group at login
is-it possible to add lines in .profile and/or .dtprofile to :
1- list groups in /etc/group or cat grouplist
2- ask to the user wich group he want to use during his working session and set this group for is telnet or CDE session
what I have to add in those file.
I'm not programmer and any help will be appreciated
Thanks a lot to any helper.
1- list groups in /etc/group or cat grouplist
2- ask to the user wich group he want to use during his working session and set this group for is telnet or CDE session
what I have to add in those file.
I'm not programmer and any help will be appreciated
Thanks a lot to any helper.
DOSB
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2000 12:47 PM
08-17-2000 12:47 PM
Re: set automatic choose of group at login
Not realy. For each user it is a primary group defined as primary group that is the group at login time and is store in /etc/passwd file under gid group.
You can try to do a work aroung and setup your own script called from .profile and sleep for 90 seconds. In the script use newgrp command. Of course, previouslly, you assigned the specified user to the secondary group.
see man group, man newgrp. Don't forget to create the link ln -s /etc/group /etc/logingroup
You can try to do a work aroung and setup your own script called from .profile and sleep for 90 seconds. In the script use newgrp command. Of course, previouslly, you assigned the specified user to the secondary group.
see man group, man newgrp. Don't forget to create the link ln -s /etc/group /etc/logingroup
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP