Giter VIP home page Giter VIP logo

Comments (6)

sedwards2009 avatar sedwards2009 commented on June 9, 2024

From a little bit of googling I see that Mac OS X doesn't store the user's shell in /etc/passwd (which is what Extraterm is reading). It uses Open Directory.

https://superuser.com/questions/191330/users-in-etc-passwd-on-mac-os-x

from extraterm.

Gagege avatar Gagege commented on June 9, 2024

Thanks a lot! Can't wait for the next release. Wish I had time to build it myself.

from extraterm.

yrizk avatar yrizk commented on June 9, 2024

checking /etc/passwd won't work for networked linux machines either. you'll need to look through the administrative database using getent passwd

from extraterm.

yrizk avatar yrizk commented on June 9, 2024

if anyone is looking for a patch for this issue, manually get your user entry from wherever it is stored. userid and groupid are the tricky parts, but you'll need the whole line seperated by colons. make sure the end of that line is the shell you want to use. Then add it to /etc/passwd with root priv.
sudo nano /etc/passwd

from extraterm.

sedwards2009 avatar sedwards2009 commented on June 9, 2024

@yrizk Do you by any chance know of a general Linux command or call which fetches a user's shell regardless of how it is set up in the "back end"?

from extraterm.

yrizk avatar yrizk commented on June 9, 2024

Nope I don't know of such a thing . I would set up an or on both getent and passwd

from extraterm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.