Please clarify my questions on FreeBSD
Hai,
I have just installed FreeBSD6.3 . Now I created a user for that using adduser. After that all went wrong. Its asking username, Fullname and Uid. I gave the same (username i created) for the first two questions and left empty as it said for the third one. I want to know whats all this? Why should i give all the above details? How can I set password for the user I created? Can I use the root here as same as the root in normal Fedora. Please say about the things mentioned above in detail. Thanks, Prakash. |
Only the username is mandatory. You can skip the Fullname. If you skip the Uid, the next available number will be used.
If it didn't prompt for the password after this, type 'passwd username' to set the password. Root is the same here as in Fedora. Just remember that you won't be able to su into root from your normal user account unless this user is present in the 'wheel' group. |
Learn about /etc/passwd,
Read man passwd read man useradd # or adduser if you have that The, after you have learned all about it, you can tell us in detail what you've learned. |
It puts these details in /etc/passwd, but you can leave the fullname blank.
Some versions of linux do this too: ubuntu/slackware that I know off to change another users password as root, just run: passwd username where username is the username of the user you want to change password for. you should be able to use root if you want, it is just better to not run as root for every-day use, only when it is really needed - even if you use fedora, you should not run as root. |
Hi,
Thanks for your reply. I did the same as you explained. I gave adduser and then gave the same name for username and left fullname and uid blank. Then the result is the Login group [username]: Here what ever I give the result is same ie., Login group is Username. Invite username into other groups? []: Here what ever I give the result is group .... does not exist! i am not getting it. please help me in this aspect. Thanks, Prakash. |
The first rule of FreeBSD is, read the handbook! There's a demo of the adduser command here: http://www.freebsd.org/doc/en/books/...modifying.html
|
Hi,
Thanks arun for ur valuable suggestion. I have created an user and switched to it. Now in that particular user commands like yum, wget updateb are not working. Please help in this topic Thanks, Prakash |
Again, read the handbook. yum is for rpm-based linux distros. FreeBSD uses ports (source-based installation) and packages (binaries, similar to yum).
There's detailed chapters for both, skim through them and use whichever you like. You probably haven't installed wget and updatedb. Read the handbook and see how those can be installed. |
Moved: This thread is more suitable in <*BSD> and has been moved accordingly to help your thread/question get the exposure it deserves. I also renamed it since you obviously had
questions, not doubts. |
@prakash.akumalla: You'll find the FreeBSD manpages are generally quite informative. A quick look at adduser(8) would have answered your questions.
Quote:
|
All times are GMT -5. The time now is 11:10 PM. |