Well ... for starters: What were you trying to do?? What did you want to achieve? And what precisely did you do, e.g. what did you click on, what commands did you type, and what error messages did you get back?Steve wrote:I'm sorry to be vague here
Useradd in Cassandra
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Re: Useradd in Cassandra
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
first do not use "sudo su" unless you really know what you are doing. ie Don't.
In general do not use a terminal window, you should be able to do everything using a GUI. GUI's use sudo if the task they are doing needs admin access and will ask you for a password.
When you installed you would have created an initial user which i expect is your account. this accounts' username was added to the sudoer list making it an administration capable user. ie you can create users, install software etc.
To add another account/user goto mintmenu-->administration-->users and groups.
or goto mintmenu-->config center--> administration --> users and groups.
Enter your password when asked for one.
Now if you see the user name you created in the terminal (the not working one) highlight it and delete it.
In the GUI click on the add user button, fill out required fields and click OK.
exit the GUI
Logout and login as the new user.
I hope this helps.
Remember the GUI is your friend.
In general do not use a terminal window, you should be able to do everything using a GUI. GUI's use sudo if the task they are doing needs admin access and will ask you for a password.
When you installed you would have created an initial user which i expect is your account. this accounts' username was added to the sudoer list making it an administration capable user. ie you can create users, install software etc.
To add another account/user goto mintmenu-->administration-->users and groups.
or goto mintmenu-->config center--> administration --> users and groups.
Enter your password when asked for one.
Now if you see the user name you created in the terminal (the not working one) highlight it and delete it.
In the GUI click on the add user button, fill out required fields and click OK.
exit the GUI
Logout and login as the new user.
I hope this helps.
Remember the GUI is your friend.
Now where was i going? Oh yes, crazy!
Re: Useradd in Cassandra
... That command switches into a root shell which is dangerous!! Especially if you don't really know what the commands do you type in there!!. It does not create anything in the best case and in the worst case it creates one hell of a mess (especially when you enter commands you don't yet understand ...). Either I am misunderstanding you here or you did not write precisely enough what you did. Sorry to say so.Steve wrote: sudo su
You should already have one, e.g. when you installed? Weren't you asked to provide a username?Steve wrote: I was trying to create an account for myself
You can do that via the "Preferences" menu if I am not wrong? (in GNOME)Steve wrote: and my daughter.
OK, can you please open a terminal and give me the verbatim output of the following command (please copy & paste: highlight the stuff with the left mouse button, then go over to the terminal window, and hit the middle mouse button or mouse wheel):Steve wrote: File should be owned by user and have 644 permissions.
Code: Select all
cat /etc/passwd
Sometimes people are told on forums never ever to reveal their passwords to anyone ... that's absolutely true. But then again, that's not what I asked you here, OK?
As for permissions: Normally the command for fixing a files permission is chmod (short for "change mode"). I am not really sure what you did on your system and what user account you used to get that error message, but if you want to follow the error message's suggestion, then the command sequence to fix the error would be, e.g.
Code: Select all
sudo su -
cd /home/of/affected/user
chown affecteduser .dmrc
chmod 644 .dmrc
exit
I am still not really sure about the "adding an account for my daughter part" ... Can you elaborate more what precisely you did there? Because "sudo su" really just changes into a root shell ... It would be more interesting to know what you did after that stepSteve wrote: i still get the same result at this point.
.
.
.
.
Last edited by scorp123 on Thu May 17, 2007 7:17 pm, edited 1 time in total.
sudo = short for "SuperUser do" ... e.g. do something as the God-like superuser "root". Example: ... will poweroff a system.
su = short for "Switch User" ... e.g. change into someone else's user account inside a shell session. Example: ... will ask for password of user "jake" and upon successful login all following commands will execute as "jake" and with jake's priviledges. Not telling the system which user precisely you want to switch into will assume that you mean to switch into root's account:
Both commands combined: ... mean translated into English: "SuperUser do: switch user into root's account!"
If you don't know what you do, you should perhaps not use that command unless someone with more knowledge tells you to do it (e.g. in case you have to fix an unexpected problem ...).
Nontheless I hope this small explanation helps you to understand those "cryptic" commands better
BTW, there are manual pages to every command. So if you're not sure about what a shell command does, it won't harm to check the manual pages (use cursor keys, Page Up and Page Down to navigate; press Q to exit from a manual page).
Code: Select all
sudo poweroff
su = short for "Switch User" ... e.g. change into someone else's user account inside a shell session. Example:
Code: Select all
su - jake
Code: Select all
su -
Code: Select all
sudo su -
If you don't know what you do, you should perhaps not use that command unless someone with more knowledge tells you to do it (e.g. in case you have to fix an unexpected problem ...).
Nontheless I hope this small explanation helps you to understand those "cryptic" commands better
BTW, there are manual pages to every command.
Code: Select all
man sudo
man su