[SOLVED] how do I use the usermod command to add a comment to /etc/passwd
SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
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.
how do I use the usermod command to add a comment to /etc/passwd
I need to add a comment to /etc/passwd using usermod, but everytime I do it tells me that I can't modify a user in the LDAP database without DN. What is DN?
I need to add a comment to /etc/passwd using usermod, but everytime I do it tells me that I can't modify a user in the LDAP database without DN. What is DN?
DN == "distinguised name", e.g.,
Code:
dn: cn=username,ou=it,dc=your_company,dc=com
And no, if the machine has LDAP for authentication you
won't be changing the password file for a comment.
Does it matter what OS i'm using? According the the tech manual I am supposed to be able to do this, but I cant get around that error message. I'm using sles 9
thats the thing, I'm doing this for a homework assignment and cant get past. There is no admin, as I am working through VMWare.
Well .. in that case; when you installed SLES you must
have told it which authentication method to choose. I'm
sure LDAP wasn't default back when SLES 9 was current.
I'll move your thread to the SLES forum for better exposure.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.