HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- [Help!] I don't want NIS+ user to use "niscat pass...
Operating System - HP-UX
1833779
Members
2114
Online
110063
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
07-30-2008 09:12 PM
07-30-2008 09:12 PM
[Help!] I don't want NIS+ user to use "niscat passwd.org_dir" to look at......
NIS+ Server IP: 192.168.80.202
NIS+ Client IP: 192.168.80.38
Now:at NIS+ Server,I have 2 users, one is user1 and the other is user2,
Purpose I wanna implement:After ssh the NIS+ client, I don't want user1 or user2 to use the command "niscat passwd.org_dir" to look at any conments of file "passwd.org_dir". Or user1 can't look at the encrypted information of passwd.org_dir.
Can anyone tell me how to implement that?
[code]ssh user1@192.168.80.38[/code]
[code]niscat passwd.org_dir[/code]
[code]
root:*NP*:0:0::/root:/usr/bin/bash:*NP*
............................................
user1:PUHF95SxdLvFo:60005:60005:users:/export/home/user1:/bin/bash:
user2:s0gTFTxXgp7fA:60006:60006:users:/export/hoome/user2:/bin/bash:
[/code]
use keylogout,"niscat passwd.org_dir":
[code]
user1:*NP*:60005:60005:users:/export/home/user1:/bin/bash:*NP*
user2:*NP*:60006:60006:users:/export/hoome/user2:/bin/bash:*NP*
[/code]
I wanna implement this:type the "niscat passwd.org_dir" after using the command "keylogin":
[code]
user1:PUHF95SxdLvFo:60005:60005:users:/export/home/user1:/bin/bash:
user2:*NP*:60006:60006:users:/export/hoome/user2:/bin/bash:*NP*
[/code]
Or
[code]
user1:*NP*:60005:60005:users:/export/home/user1:/bin/bash:
user2:*NP*:60006:60006:users:/export/hoome/user2:/bin/bash:*NP*
[/code]
I do removed the relative rights, but it still doesn't work.
[code]niscat -o passwd.org_dir[/code]
[code]Object Name : "passwd"
Directory : "org_dir.ds.org."
Owner : "dsbj-tm10.ds.org."
Group : "admin.ds.org."
Access Rights : ----------------
Time to Live : 12:0:0
Creation Time : Wed Jul 30 09:38:44 2008
Mod. Time : Wed Jul 30 17:10:28 2008
Object Type : TABLE
Table Type : passwd_tbl
Number of Columns : 8
Character Separator : :
Search Path :
Columns :
[0] Name : name
Attributes : (SEARCHABLE, TEXTUAL DATA, CASE SENSITIVE)
Access Rights : r---r---r---r---
[1] Name : passwd
Attributes : (TEXTUAL DATA)
Access Rights : ----------------
[2] Name : uid
Attributes : (SEARCHABLE, TEXTUAL DATA, CASE SENSITIVE)
Access Rights : r---r---r---r---
[3] Name : gid
Attributes : (TEXTUAL DATA)
Access Rights : r---r---r---r---
[4] Name : gcos
Attributes : (TEXTUAL DATA)
Access Rights : r---rmcdrmcdr---
[5] Name : home
Attributes : (TEXTUAL DATA)
Access Rights : r---r---rmcdr---
[6] Name : shell
Attributes : (TEXTUAL DATA)
Access Rights : r---rmcdrmcdr---
[7] Name : shadow
Attributes : (TEXTUAL DATA)
Access Rights : ----------------
[/code]
Can anyone figure it out? Thanks!
NIS+ Client IP: 192.168.80.38
Now:at NIS+ Server,I have 2 users, one is user1 and the other is user2,
Purpose I wanna implement:After ssh the NIS+ client, I don't want user1 or user2 to use the command "niscat passwd.org_dir" to look at any conments of file "passwd.org_dir". Or user1 can't look at the encrypted information of passwd.org_dir.
Can anyone tell me how to implement that?
[code]ssh user1@192.168.80.38[/code]
[code]niscat passwd.org_dir[/code]
[code]
root:*NP*:0:0::/root:/usr/bin/bash:*NP*
............................................
user1:PUHF95SxdLvFo:60005:60005:users:/export/home/user1:/bin/bash:
user2:s0gTFTxXgp7fA:60006:60006:users:/export/hoome/user2:/bin/bash:
[/code]
use keylogout,"niscat passwd.org_dir":
[code]
user1:*NP*:60005:60005:users:/export/home/user1:/bin/bash:*NP*
user2:*NP*:60006:60006:users:/export/hoome/user2:/bin/bash:*NP*
[/code]
I wanna implement this:type the "niscat passwd.org_dir" after using the command "keylogin":
[code]
user1:PUHF95SxdLvFo:60005:60005:users:/export/home/user1:/bin/bash:
user2:*NP*:60006:60006:users:/export/hoome/user2:/bin/bash:*NP*
[/code]
Or
[code]
user1:*NP*:60005:60005:users:/export/home/user1:/bin/bash:
user2:*NP*:60006:60006:users:/export/hoome/user2:/bin/bash:*NP*
[/code]
I do removed the relative rights, but it still doesn't work.
[code]niscat -o passwd.org_dir[/code]
[code]Object Name : "passwd"
Directory : "org_dir.ds.org."
Owner : "dsbj-tm10.ds.org."
Group : "admin.ds.org."
Access Rights : ----------------
Time to Live : 12:0:0
Creation Time : Wed Jul 30 09:38:44 2008
Mod. Time : Wed Jul 30 17:10:28 2008
Object Type : TABLE
Table Type : passwd_tbl
Number of Columns : 8
Character Separator : :
Search Path :
Columns :
[0] Name : name
Attributes : (SEARCHABLE, TEXTUAL DATA, CASE SENSITIVE)
Access Rights : r---r---r---r---
[1] Name : passwd
Attributes : (TEXTUAL DATA)
Access Rights : ----------------
[2] Name : uid
Attributes : (SEARCHABLE, TEXTUAL DATA, CASE SENSITIVE)
Access Rights : r---r---r---r---
[3] Name : gid
Attributes : (TEXTUAL DATA)
Access Rights : r---r---r---r---
[4] Name : gcos
Attributes : (TEXTUAL DATA)
Access Rights : r---rmcdrmcdr---
[5] Name : home
Attributes : (TEXTUAL DATA)
Access Rights : r---r---rmcdr---
[6] Name : shell
Attributes : (TEXTUAL DATA)
Access Rights : r---rmcdrmcdr---
[7] Name : shadow
Attributes : (TEXTUAL DATA)
Access Rights : ----------------
[/code]
Can anyone figure it out? Thanks!
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