LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 12-14-2002, 01:48 AM   #1
Fuel
Member
 
Registered: Feb 2002
Location: Sweden, Skeldepth
Distribution: Slackware 10
Posts: 178

Rep: Reputation: 30
Mandrake, SuSe etc & console


Can i control mandrake via console as well as the normal way (grapihical) or is it ment to be mastered by using all its grapichal apps ?

the same question for suse, last time the "adduser" command didnt work in console..

Last edited by Fuel; 12-14-2002 at 01:50 AM.
 
Old 12-14-2002, 08:18 AM   #2
KayJay
Member
 
Registered: Mar 2002
Location: dev/null
Distribution: redhat, mandrake
Posts: 218

Rep: Reputation: 30
ya u can
I have Mandrake running as server , CLI only

useradd is what u look for prolly

u can update the system with urpmi --update --auto-select
edit the syconfig.. what else do u want?
oh BitchX for irc, micq (icq in commandline) it's all there
 
Old 12-14-2002, 09:42 AM   #3
Fuel
Member
 
Registered: Feb 2002
Location: Sweden, Skeldepth
Distribution: Slackware 10
Posts: 178

Original Poster
Rep: Reputation: 30
useradd, adduser whatever .. didnt work in suse console .. maybe they are just using all their graphical apps to admin the computer..

i was just wondering if i can do everything that i can do in slackware console in mandrake console ( all standard linux cosole commands ) or do they have their own solutions
 
Old 12-14-2002, 11:49 AM   #4
KayJay
Member
 
Registered: Mar 2002
Location: dev/null
Distribution: redhat, mandrake
Posts: 218

Rep: Reputation: 30
Quote:
Originally posted by Fuel
useradd, adduser whatever .. didnt work in suse console .. maybe they are just using all their graphical apps to admin the computer..

i was just wondering if i can do everything that i can do in slackware console in mandrake console ( all standard linux cosole commands ) or do they have their own solutions

make sure you're root when u add users..
don't use capitals..

u can work with mandrake in console as much as slackware in console..
 
Old 12-14-2002, 03:32 PM   #5
jdii1215
Member
 
Registered: Aug 2002
Location: SW Coast of Florida, USA-- in fact, ground zero for Charley is where my town is
Distribution: Mandrake 10 Community, SuSE 9+
Posts: 167

Rep: Reputation: 30
Yes, Mandrake 9.0 is a Linux System Base approved distro and comes with it. It is NOT default installed, but if you tell it to install or install the LSB later it works excellently.

With SuSE, you might find the Slackware command 'newuser' was adopted instead of 'adduser' or 'useradd'. Slack and SuSE and Deb had common roots, some of the commands among those three distros are very common. A book called "Linux System Commands," authored appropriately by Patrick Volkerding, is my reference of first choice for those commands. It is published under an IDG Worldwide line name of M&T Books.

For Mandrake, I have about 450 printed pages of stuff for 9.0 plus the man pages and infos and HOWTOs for commands. Any Mandrakian might want to look on Mandrake's sites and fetch themselves a set of doc files in pdf form if they do not own a copy of the PowerPAck or Suite. One of those is a CLI reference which covers especially Mandrake's way of adminning from the CLI.

Most of the Mandrake modules used in the Mandrake Control Center in the GUIs can be called by their module names in the CLI and will spawn DOS-LIKE config interfaces. XFdrake is useful for recovering from a GUI config disaster from the CLI, for example.

ps, pstree and top are naturally still around. Most of the Gnu commands doc'ed in the manual at Gnu.org work if you have the LSB RPM loaded.

John.
 
Old 12-16-2002, 04:08 AM   #6
Fuel
Member
 
Registered: Feb 2002
Location: Sweden, Skeldepth
Distribution: Slackware 10
Posts: 178

Original Poster
Rep: Reputation: 30
thanks for help
 
Old 12-16-2002, 05:26 AM   #7
jdii1215
Member
 
Registered: Aug 2002
Location: SW Coast of Florida, USA-- in fact, ground zero for Charley is where my town is
Distribution: Mandrake 10 Community, SuSE 9+
Posts: 167

Rep: Reputation: 30
Happy to, this is a good virtual place to hang out.

John.
 
Old 12-23-2002, 01:58 AM   #8
banana2
Member
 
Registered: Dec 2002
Location: Sydney
Distribution: Debian
Posts: 55

Rep: Reputation: 15
u do not have to use adduser at all, better and safer is do it manualy , log as root and edit passwd file and then make home directory for user

then just type passwd user-with u jast make and set passwd if you need...
 
Old 12-23-2002, 07:48 AM   #9
jdii1215
Member
 
Registered: Aug 2002
Location: SW Coast of Florida, USA-- in fact, ground zero for Charley is where my town is
Distribution: Mandrake 10 Community, SuSE 9+
Posts: 167

Rep: Reputation: 30
This is nice, IF you do not want shadowed (encrypted with the key hidden) passwords. I like mine encrypted-- essentially, unless they are unencrypted AFTER someone grabs the file, they are useless if you encrypt them. To find the key would be harder than just to find the password file and one would need root access to do both.

But, for instance, to change passwords if shadowed, see

man chpw
man shadow

and for the other reasons on why to use the command see:
man useradd (with emphasis on the part about crypt if you are using Mandrake, and the part about group creation, and the part about expiration of user ID)(in my case, ALSO got to this with 'man adduser' which was aliased to useradd by default in Mandrake 9.0)
man crypt

Plain language passwords are an invitation to intrude, to anyone who can see them in plain characters. while you could manually make a user ID, encrypt the password, make a group ID, etc, why bother??? This way, you type in a password in plain characters and the silly thing gets autoencrypted and no-one sees the key used to encrypt much less the result. If you are the only user whoe will ever sit down at your console on your machine, you can do this the long way to learn, but know the other also for the times when you do not want your fellow game player to know exactly how to play tricks on you with your own box.

No, I am not ripping on you, nor flaming, this is how folks keep their jobs in life if as sysadmins-- by making it so hard for system burglars that they decide to burgle elsewhere, and by knowing things so well that they know when they are beaten (have been burgled) and can adapt with a change or changes to close that hole or holes that got the burglar access to their private info.

John.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
10.1 - console & Bash High-gain Linux - Newbie 4 06-13-2005 03:46 PM
cut & paste to console ciscohead General 1 06-04-2005 06:08 PM
A server & its client with console m_pahlevanzadeh Linux - Enterprise 1 11-25-2004 07:50 AM
How to cut & paste from a console ? Kanaflloric Linux - Newbie 3 07-28-2004 08:53 PM
Console commands && GUI DaFrEQ Programming 10 05-29-2003 12:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 05:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration