Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ok,I feel really stupid now.I can't seem to add a new user on Fedora 3.I've done this before and it worked fine,there's some weird permission error,but i'm not sure what.Here's what I've done
Code:
groupadd Group
useradd -d /home/user -g Group username
passwd username
*****
if I try to login(ssh username@ip) I get the folowing error
Code:
/bin/bash: Permission denied
Here's my permissions
Code:
drwxrwxr-- 3 root Group 4096 Jun 23 07:57 /home
drwxrwxrwx 2 root Group 4096 Jun 23 08:09 /home/user
ls -l /bin/bash
-rwxr-xr-x 1 root Group 616312 Oct 19 2004 /bin/bash
Not sure what's wrong.Please help,I don't want to be stupid anymore.Thanks
Have you double-checked the ownership of /home and /home/user? On my system, /home is owned by root:root and each user's directory is owned by the user, not root. I'd have expected something like:
Code:
drwxrwxr-- 3 root root 4096 Jun 23 07:57 /home
drwxr-x--- 2 user Group 4096 Jun 23 08:09 /home/user
Last edited by gilead; 06-23-2006 at 01:51 AM.
Reason: must... type... faster...
Originally posted by prozac
I don't know for sure but adduser script (that lets you chose uid, group etc etc) i think is available only for slack.
Figures ... I know Slack's the oldest Linux distro, and since all the others came
afterwards, they're just trying to improve on it. Never has happened, though,
which makes my wonder why anyone uses them.
That sorted home dir permissions thanks,but i still get the
/bin/bash: Permission denied
error when trying to log in
ls -l /bin/bash
ls -l /
If there's nothing wrong with the perms there try
ldd `which bash`
and check the perms on the libs it's linked against,
and the whole directory structure they live under ...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.