Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 168941
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T12:32:32+00:00 2026-05-11T12:32:32+00:00

i have a working solaris 10 server with ssh and NIS using the following

  • 0

i have a working solaris 10 server with ssh and NIS using the following configuration:

# /etc/nsswitch.conf passwd:     files nis group:      files nis 

and

# /etc/ssh/sshd_config  Protocol 2  Port 22  ListenAddress ::  AllowTcpForwarding no  GatewayPorts no  X11Forwarding yes  X11DisplayOffset 10  X11UseLocalhost yes  PrintMotd no  KeepAlive yes  SyslogFacility auth  LogLevel info  HostKey /etc/ssh/ssh_host_rsa_key  HostKey /etc/ssh/ssh_host_dsa_key  ServerKeyBits 768  KeyRegenerationInterval 3600  StrictModes yes  LoginGraceTime 600  MaxAuthTries       6  MaxAuthTriesLog    3  PermitEmptyPasswords yes  PasswordAuthentication yes  PAMAuthenticationViaKBDInt yes  PermitRootLogin yes  Subsystem  sftp    /usr/lib/ssh/sftp-server  IgnoreRhosts yes  RhostsAuthentication no  RhostsRSAAuthentication no  RSAAuthentication yes 

Now, i want to switch to compat mode:

# /etc/nsswitch.conf passwd:     compat group:      files nis 

I added a few users to:

# /etc/passwd +luke:x::::: 

ran pwvcon and then password authentification for user luke doesn’t not work anymore (while public-key is still OK).

Is there something wrong with my setup ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T12:32:32+00:00Added an answer on May 11, 2026 at 12:32 pm

    From passwd(4):

    If a +name entry has a non-null password [..] the value of that field overrides what is contained in the alternate naming service.

    Can you see if removing the ‘x’ in the passwd-column and running pwconv again helps?

    Edit: the first guess was totally off, see comments, so here’s another guess — I can’t break my Sun’s config just now, sorry 😉

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

On a Solaris 5.8 machine, I have the following code: [non-working code] char *buf;
i have working codes from my server which is really working using Xampp server
I am using Solaris 5.10 and working on Bash Shell . I have a
I am working solaris 10 and using bash shell. I have a shell script
There are databases on Firebird and SQL Server. I have working stored procedure in
I have been working with SQL Server as a Developer a while. One thing
I have the following snippet in a bash script written in Solaris 10: printf
I have working with email option. i can send the Email using the intent
I have working code using the spring-ws library to respond to soap requests. I
I am trying to get remote debugging working with Java on Solaris OS. Following

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.