FedoraThis forum is for the discussion of the Fedora Project.
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.
I know that some distro's do allow other characters to be used, but this is not officially allowed.
Slackware allows this type of naming, and also FC1 allows this. I've been thinking of
creating lots of users using "_". What do you mean this is not officially allowed? Is this
related with bash or useradd script or FC?
I just found out it could be due to different version of the package shadow-utils (provides useradd function, etc) that being used in RH9 and FC3.
I don't intend to create username with a $ behind. This is automatically done when joining windows 2000 pro machine to samba PDC server. I'm trying to use Samba to replace my existing Windows 2000 server.
The following line in /etc/samba/smb.conf did the adding of machine trust account:
add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null -M %u
So, windows will just append $ behind the hostname automatically.
There is a solution which need to manually create all my windows client Pc's hostname before joining them to samba domain, this could be troublesome.
I think I may use RH9 instead of FC3, unless someone got better solution.
Notice the lack of the string. Now here comes the tricky part. Make backup copy's of the files "/etc/passwd" and "/etc/shadow" first. Manually edit the "/etc/passwd" and "/etc/shadow" and change the machine name to include a string. In my case my winxp-machine was called hemel3, so I changed the name in both files to hemel3$.
Then add the user to samba:
# smbpasswd -a -m machine_name
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.