Author Topic: Editing user details  (Read 2598 times)

toothandnail

  • Tester
  • Vectorian
  • ****
  • Posts: 2527
Editing user details
« on: January 03, 2008, 10:41:37 am »
While creating a new user, the cat jumped on my lap. In my efforts to avoid dropping the laptop, I must have hit the enter key. As a result, the login name is fine, and the password is fine, but the real name is 'R'.

Looking through VASM, its user editing functions seem to be pretty much the same as usermod, which doesn't help much in this case, since I don't want to change the login name, just the real name.

Is there any way to edit other user details?

paul.

Triarius Fidelis

  • Vecteloper
  • Vectorian
  • ****
  • Posts: 2399
  • Domine, exaudi vocem meam
    • my website
Re: Editing user details
« Reply #1 on: January 03, 2008, 10:52:36 am »
As root, you can edit /etc/passwd directly.

e.g.

'hanumizzle:x:1000:100:the Baron Phineas Q. von Hanumizzle:/home/hanumizzle:/bin/bash'
"Leatherface, you BITCH! Ho Chi Minh, hah hah hah!"

Formerly known as "Epic Fail Guy" and "Döden" in recent months

toothandnail

  • Tester
  • Vectorian
  • ****
  • Posts: 2527
Re: Editing user details
« Reply #2 on: January 03, 2008, 03:18:54 pm »
As root, you can edit /etc/passwd directly.

e.g.

'hanumizzle:x:1000:100:the Baron Phineas Q. von Hanumizzle:/home/hanumizzle:/bin/bash'

 :) Thanks. I wasn't sure how safe that would be.

paul.

Triarius Fidelis

  • Vecteloper
  • Vectorian
  • ****
  • Posts: 2399
  • Domine, exaudi vocem meam
    • my website
Re: Editing user details
« Reply #3 on: January 04, 2008, 06:34:39 am »
As root, you can edit /etc/passwd directly.

e.g.

'hanumizzle:x:1000:100:the Baron Phineas Q. von Hanumizzle:/home/hanumizzle:/bin/bash'

 :) Thanks. I wasn't sure how safe that would be.

paul.

vusermod and usermod (with -c) both edit the 'comment field', which contains the name or anything else you like.
"Leatherface, you BITCH! Ho Chi Minh, hah hah hah!"

Formerly known as "Epic Fail Guy" and "Döden" in recent months

exeterdad

  • Packager
  • Vectorian
  • ****
  • Posts: 2046
Re: Editing user details
« Reply #4 on: January 04, 2008, 06:43:58 am »
I think it would be useful if someone familiar with the VL tools could list them and how to use them.  VL has so many, it's a shame and a waste that not everyone (myself included) knows about them, or what to do with them.  Might make a great "How To" or WIKI entry.

Triarius Fidelis

  • Vecteloper
  • Vectorian
  • ****
  • Posts: 2399
  • Domine, exaudi vocem meam
    • my website
Re: Editing user details
« Reply #5 on: January 04, 2008, 08:00:32 am »
I think it would be useful if someone familiar with the VL tools could list them and how to use them.  VL has so many, it's a shame and a waste that not everyone (myself included) knows about them, or what to do with them.  Might make a great "How To" or WIKI entry.

Most of them are kind of self-explanatory. I guess...
"Leatherface, you BITCH! Ho Chi Minh, hah hah hah!"

Formerly known as "Epic Fail Guy" and "Döden" in recent months

no2thesame

  • Packager
  • Vectorite
  • ****
  • Posts: 136
Re: Editing user details
« Reply #6 on: January 31, 2008, 11:36:13 pm »
VasmCC has no option to add a new user so (as a non-cli type) I had to edit /etc/passwd as Epic Fail Guy suggested.

Is the omission from VasmCC intentional?

I second the idea of a list of VL tools that exeterdad suggested.

no2

The Headacher

  • Louder than you
  • Global Moderator
  • Vectorian
  • *****
  • Posts: 1559
  • I like the bass to go BOOM!
    • Multimedia on VL (work in progress)
Re: Editing user details
« Reply #7 on: February 01, 2008, 12:51:24 am »
Quote
VasmCC has no option to add a new user so (as a non-cli type) I had to edit /etc/passwd as Epic Fail Guy suggested.
That actually worked? whoa.

My VasmCC does have that option (vasmcc 1.0.12), it's under "user".

The usual way to create users from cli is with the command "useradd".
Most music on my soundcloud page was arranged in programs running on VL.

no2thesame

  • Packager
  • Vectorite
  • ****
  • Posts: 136
Re: Editing user details
« Reply #8 on: February 02, 2008, 07:05:19 pm »
Thanks for the reply Headacher,

No the edit didn't work, I hadn't logged into the account when I posted. But I found I could get good old Vasm from the command line, deleted the new user, then added it again. All good now.

I must have an earlier version of VasmCC mine doesn't have the option. Good it has been corrected on the deluxe.

I'm not as good with the cli as I should be... lazy I guess.
no2