It’s the dumb mistakes I hate

After about two months of wondering why I couldn’t get Crux to accept the bash profile I gave it, I realized my error, and now I feel quite stupid about it.

Very simply, while I’m used to the adduser dialogue that Arch and some other distros use, I have been using useradd and usermod to build accounts in Crux. And of course, after glazing over the help flag output for about a hundred times, I realized that I had never set the shell for those accounts, and that’s probably why they weren’t showing the proper prompt or accepting the .bash_profile terms I gave them.

So if you find yourself in a similar predicament, you might just need to apply a shell option to the account.

usermod -s /bin/bash kmandla

And suddenly everything is sunshine and daisies again. Quite dumb, wasn’t it? :roll: This is one of those humbling moments that’s supposedly good for your soul.

About these ads

0 Responses to “It’s the dumb mistakes I hate”



  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Welcome!



Visit the Wiki!

Some recent desktops


May 6, 2011
Musca 0.9.24 on Crux Linux
150Mhz Pentium 96Mb 8Gb CF
 


May 14, 2011
IceWM 1.2.37 and Arch Linux
L2300 core duo 3Gb 320Gb

Some recent games


Apr. 21, 2011
Oolite on Xubuntu 11.04
L2300 core duo 3Gb 320Gb

Enter your email address to subscribe to this blog and receive notifications of new posts.

Join 405 other followers

License

This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blog Stats

  • 3,958,321 hits

Archives


Follow

Get every new post delivered to your Inbox.

Join 405 other followers

%d bloggers like this: