Terminal issue

New to Debian (Or Linux in general)? Ask your questions here!

Re: Terminal issue

Postby GarryRicketson » 2018-08-09 15:09

Even in Debian you can not add a user if you want.

Yes you can
Image
=== edited===
I have never seen any Linux, Bsd, or Unix, that root could not add users to the system, but have seen some that do not automatically set up a non root user account, in other words , the base install is just "root" as the default user,..but even on those, the install documentation recommends setting up a "non administrative" user, immediately, it is generally one of the first things one needs to do after the initial install. Most , installers now a days, do include the option to setup a normal user account, but one does not have to do that.
Just saying,..

==============
How would sudo break? Or any other pacgkage. If using stable Debian, there might not be any other reason than wrong configuration, and that can be fixed.

I apologize, worded that badly, maybe "break" or "broken" is not the right way to say it, but what I meant, for example, a wrong or bad configuration, or something, there have been several threads where the user could not get sudo to work, and in at least 1 , we had to explain how to boot as single user, and set a root password , so the user can log in as root, and start repairing the problem.
Even in this thread, when the OP started, in order to run the usermod command, they needed to use 'su', to modify how they had sudo set up.
Yes, I agree normally using "sudo", instead of all ways logging in as root, is better, etc,... just saying it is a good idea to set a root password, and have that setup correctly as well, just in case for some reason sudo does not work.
=== edited again===
to remove the previous edit.
Last edited by GarryRicketson on 2018-08-09 16:51, edited 1 time in total.
User avatar
GarryRicketson
 
Posts: 5114
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Terminal issue

Postby None1975 » 2018-08-09 15:48

GarryRicketson wrote:
Even in Debian you can not add a user if you want.

Yes you can

Yes you are right. I wanted to write that you can create a user. There was a technical error. Forgive me.
OS: Debian 9.5 / WM: Xmonad
Debian Wiki | DontBreakDebian, My config files in github
Linux User #607425
User avatar
None1975
 
Posts: 645
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

Re: Terminal issue

Postby GarryRicketson » 2018-08-09 15:54

No problem, and it is true, a regular user can not add users to the system, adding users must be done either using sudo or su, as far as I know,...
So any user not in the sudoers group, would not be able to add users.
User avatar
GarryRicketson
 
Posts: 5114
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Terminal issue

Postby arzgi » 2018-08-10 08:28

None1975 wrote:
arzgi wrote:Err, maybe you meant something else that you wrote? There are adduser and useradd at least.

Each Gnu/Linux system has such a tool (adduser and useradd). Apparently, in your specified system, there was such a tool, but it was not clear.


So what is the logic? He uses sudo, can't be Debian?
arzgi
 
Posts: 386
Joined: 2008-02-21 17:03
Location: Finland

Re: Terminal issue

Postby debiman » 2018-08-11 11:06

4 pages of hit-and-miss because op didn't follow the advice given in the first reply?
GarryRicketson wrote:This has been asked a few 100 times on this forum, here is 1;
http://forums.debian.net/viewtopic.php?f=30&t=135575&hilit=not+in+the+sudoers+file
User avatar
debiman
 
Posts: 2900
Joined: 2013-03-12 07:18

Previous

Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable